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
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
What is #include conio h?
how can f be used for both float and double arguments in printf? Are not they different types?
What are register variables in c?
In which header file is the null macro defined?
What are control structures? What are the different types?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
How can I dynamically allocate arrays?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
How can I call a function with an argument list built up at run time?
What are the advantages of external class?
Why dont c comments nest?
Differentiate between Macro and ordinary definition.
How can I sort more data than will fit in memory?
Write a program which returns the first non repetitive character in the string?