COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
MAIN()
|
|
PRINTF()
|
|
#INLCUDE <STDIO.H>
|
|
#INCLUDE <CONIO.H>
|
Detailed explanation-1: -An entry point is a location in code where a transfer of program control (execution) occurs. The main function ( main() ) is the entry point to a C/C++ program and is called when the application starts executing.
Detailed explanation-2: -The main function serves as the starting point for program execution. It usually controls program execution by directing the calls to other functions in the program.
Detailed explanation-3: -In ‘C’ you can even call the main() function, which is also known as the “called function” of one program in another program, which is called “calling function"; by including the header file into the calling function.
Detailed explanation-4: -main is not a library function. However, the standard also imposes some requirements on its signature, and that it must not be overloaded or declared static or inline. In particular, it must not be used, meaning that you cannot call it.