what is the need for main function in c?

Answer Posted / inamdar

every program execution is starts from the main()
function.compiler starts execution from main()
function.by default it returns integer value.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know the difference between exit() and _exit() function in c?

607


What is sizeof int?

631


Why should I prototype a function?

630


Explain what is dynamic data structure?

642


I have a varargs function which accepts a float parameter?

577






What do mean by network ?

657


How many main () function we can have in a project?

608


What are preprocessor directives?

668


What is the purpose of void in c?

617


What is void pointers in c?

584


Difference between MAC vs. IP Addressing

637


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2264


What do you mean by scope of a variable in c?

544


Explain the meaning of keyword 'extern' in a function declaration.

718


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

2393