Main must be written as
a.the first function in the program
b.Second function in the program
c.Last function in the program
d.any where in the program

Answer Posted / swamy s t

Answer is D. any where in the program.

No matter whereever it is because the program should
starts or begins from main() function only.

Is This Answer Correct ?    30 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

734


What is the description for syntax errors?

616


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1358


Explain the properties of union.

611


Why C language is a procedural language?

623






What is the use of the function in c?

599


Why main function is special give two reasons?

951


explain what is a newline escape sequence?

690


Explain the difference between null pointer and void pointer.

673


What is the explanation for prototype function in c?

572


How do you use a pointer to a function?

636


What is the Purpose of 'extern' keyword in a function declaration?

655


What is main () in c?

588


How to throw some light on the b tree?

606


Can we add pointers together?

621