In a C program, main () function can be placed where?

C language provides a C program, the position of main () function ().

 

A. After the necessary library functions in the system call

B. Must start in the program

C. Finally, the program must

D. You can be in any position

Answer: D

 

[D] C for each program has only one main function (main), and the program must () function is started from the main, and the main () function can be placed anywhere in the program.

 

Guess you like

Origin www.cnblogs.com/HGNET/p/11799110.html