Check what you learned about the parts of a C++ program.
1. Where does a C++ program start running?
main
#include
2. What does return 0; at the end of main tell the system?
return 0;
3. Which header do you include to use std::cout?
std::cout
4. Which of these end the current line of output?
"\n"
std::endl
;
<<
5. What does std::cout << "Hi" << "there"; print?
std::cout << "Hi" << "there";
Hi there
Hi
there
Hithere
6. What does a semicolon ; do in C++?