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
What is the g value paradox?
What is the difference between far and near in c?
How do c compilers work?
What is static memory allocation?
What is #line?
How many main () function we can have in a project?
What is actual argument?
What is abstract data structure in c?
What are the advantages of the functions?
Difference between goto, long jmp() and setjmp()?
What are the advantage of c language?
Write a code to determine the total number of stops an elevator would take to serve N number of people.
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f