C++20 sections · 1024 units
Open in CourseQuiz: Program entry point
Program entry point
Check Your Understanding
Why does every C++ program need a main() function?
- A.To declare variables
- B.To print output
- C.It is the entry point where execution begins
- D.To include libraries