C++20 sections · 1024 units
Open in CourseQuiz: Basic Structure
Test your understanding
Check Your Understanding
What happens if you remove the #include <iostream> line from a program that uses cout?
- A.The program prints nothing but compiles successfully
- B.The program prints garbage characters
- C.The compiler shows an error saying cout is not declared
- D.The program runs but crashes after printing