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 / vishwanath g. desai

d. Any where in the program, because it is a top down
program ok I agree with that, actually the feature wise we
have to write the first but now the compiler agree with the
answer d. While the program execute means it execute the
first main().

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is main function so important?

618


the question is that what you have been doing all these periods (one year gap)

1621


What is the process of writing the null pointer?

607


Why string is used in c?

583


What are control structures? What are the different types?

599






What is c definition?

750


write a program to find the given number is prime or not

3847


Can we declare a function inside a function in c?

590


How can I prevent another program from modifying part of a file that I am modifying?

615


When do we get logical errors?

639


Is there a way to compare two structure variables?

617


write a c program for swapping two strings using pointer

2094


Not all reserved words are written in lowercase. TRUE or FALSE?

720


How would you use the functions fseek(), freed(), fwrite() and ftell()?

707


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1138