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 / sudipta panja

(d)--execution starts from main,i.e. compiler starts
compiling from main but the posn of main is not fixed.it can
be anywhere.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are shell structures used for?

595


difference between native and cross compilers

1669


By using C language input a date into it and if it is right?

567


What are Macros? What are its advantages and disadvantages?

639


How to compare array with pointer in c?

615






If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

775


How can I delete a file?

626


Why calloc is better than malloc?

569


plz let me know how to become a telecom protocol tester. thank you.

1740


How can this be legal c?

648


can anyone suggest some site name..where i can get some good data structure puzzles???

1643


a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor

635


What is %lu in c?

677


How can I insert or delete a line (or record) in the middle of a file?

570


Define and explain about ! Operator?

611