English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

Why is the main function special? - Computer Science

Advertisements
Advertisements

Question

Why is the main function special?

Short Note

Solution

C++ program is a collection of functions. Every C++ program must have a main function. The main() function is the starting point where all C++ programs begin their execution. Therefore, the executable statements should be inside the main() function.

shaalaa.com
Data Types
  Is there an error in this question or solution?
Chapter 9: Introduction to C++ - Evaluation - Section - C [Page 131]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 9 Introduction to C++
Evaluation - Section - C | Q 5. | Page 131
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×