What is the basic structure of c++ program?



What is the basic structure of c++ program?..

Answer / Ankush Singhal

The basic structure of a C++ program consists of a series of functions, with at least one of them being the main function. The main function serves as the entry point of the program and is where the program's logic is implemented. The program ends when the main function finishes execution.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?

1 Answers  


Which bit wise operator is suitable for putting on a particular bit in a number?

1 Answers  


What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?

1 Answers  


How to stop conversions among objects?

5 Answers   Symphony,


How does list r; differs from list r();?

1 Answers  


What flag means?

1 Answers  


write a programming using for loop in c++ to generate diamond trangel?

1 Answers   NIIT,


What are multiple inheritances (virtual inheritance)?

1 Answers  


By using c++ with an example describe linked list?

1 Answers  


What is a storage class used in c++?

1 Answers  


What is the equivalent of Pascal's Real a) unsigned int b) float c) char

1 Answers  


When to use “const” reference arguments in a function?

1 Answers  


Categories