C++20 sections · 1024 units
Open in Course

Quiz: Syntax Elements

Punctuation rules

Check Your Understanding

Which line in a C++ program does NOT need to end with a semicolon?

  1. A.cout << "Hello" << endl
  2. B.using namespace std
  3. C.return 0
  4. D.int main()
Start the roadmap to answer the quizzes and solve the challenges