Select the incorrect statement related to main() function.
1.The compiler executes all the instructions written in the body of main ().
2.All the C++ instructions that are to be executed are written before main () .
3.It is the starting point from where the execution of a C++ program begins.
Answers
Answered by
0
Answer:
beteneveh. hetebeyjetbeege. gebegeb rghrebhefbeb gefebggefev
geteb
Explanation:
- vdfdbdbnevhefd. gene in never
Answered by
0
Option (2) is correct answer.
All the C++ instructions that are to be executed are written before main () is the incorrect statement related to main() function.
What about main() function :
- A user-defined function in C is one that allows us to send parameters to it based on the needs of the programme. A program's main() function is used to run the programming statement rather than compile it.
- All of the instructions in the body of main () are executed by the compiler. It's where a C++ programme starts to run.
- All the C++ instructions that are to be executed are written after main ()
Similar questions
Social Sciences,
1 month ago
Physics,
1 month ago
Math,
3 months ago
Math,
10 months ago
Physics,
10 months ago
CBSE BOARD XII,
10 months ago