Computer Science, asked by riya9498, 3 months ago

4 Write a short note on the structure of C++ program.​

Answers

Answered by PuneetKumar0000
1

Answer:

The C++ program can not be executed without the main() method. The main() method is responsible for the execution of all the user defined statement, functions and library functions. The main() method further structured into – variable declaration, function declaration and user defined executable statements

Answered by pramodnagarcuraj17
1

Answer:

Programs are a sequence of instructions or statements. These statements form the structure of a C++ program. C++ program structure is divided into various sections, namely, headers, class definition, member functions definitions and main function.

Similar questions