🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.std
  2. B.io
  3. C.cpp
  4. 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 →