C++20 sections · 1024 units
Open in CourseQuiz: Syntax Elements
Punctuation rules
Check Your Understanding
Which line in a C++ program does NOT need to end with a semicolon?
- A.cout << "Hello" << endl
- B.using namespace std
- C.return 0
- D.int main()
Punctuation rules
Which line in a C++ program does NOT need to end with a semicolon?