why the execution starts from main function

Answer Posted / abhradeep chatterjee

when c compiler searches for the beginning of the program,
then it looks for the main function.

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is sizeof a keyword in c?

586


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

652


#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }

724


Explain how do you print only part of a string?

652


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

2540






What is context in c?

543


What is the method to save data in stack data structure type?

611


Explain the concept and use of type void.

632


What is New modifiers?

674


What is the value of uninitialized variable in c?

578


Write a program to print fibonacci series using recursion?

591


Tell us two differences between new () and malloc ()?

617


What are static variables in c?

631


Place the #include statement must be written in the program?

576


Write a program to reverse a string.

644