हिंदी

Why is the main function special?

Advertisements

प्रश्न

Why is the main function special?

टिप्पणी लिखिए
Advertisements

उत्तर

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 9: Introduction to C++ - Evaluation - Section - C [पृष्ठ १३१]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 11 TN Board
अध्याय 9 Introduction to C++
Evaluation - Section - C | Q 5. | पृष्ठ १३१
Advertisements
Share
Notifications



      Forgot password?
Use app×