C++20 sections · 1024 units
Open in Course

Quiz: Basic Structure

Test your understanding

Check Your Understanding

What happens if you remove the #include <iostream> line from a program that uses cout?

  1. A.The program prints nothing but compiles successfully
  2. B.The program prints garbage characters
  3. C.The compiler shows an error saying cout is not declared
  4. D.The program runs but crashes after printing
Start the roadmap to answer the quizzes and solve the challenges