C++20 sections · 1024 units
Open in Course

Quiz: Program entry point

Program entry point

Check Your Understanding

Why does every C++ program need a main() function?

  1. A.To declare variables
  2. B.To print output
  3. C.It is the entry point where execution begins
  4. D.To include libraries
Start the roadmap to answer the quizzes and solve the challenges