← Quiz: C++ Introduction: all 10 questions
Quiz: C++ Introduction · Question 4 of 10
In which namespace do cout and string live?
In which namespace do cout and string live?
- A.std
- B.io
- C.cpp
- D.global
Answer & explanation
Correct answer: std
Standard library names are in namespace std.
Can you get the rest right without peeking?
Take the timed Quiz: C++ Introduction quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →