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
How can I prevent another program from modifying part of a file that I am modifying?
How do you search data in a data file using random access method?
What is a good way to implement complex numbers in c?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
Explain how can I remove the trailing spaces from a string?
Explain how do you determine the length of a string value that was stored in a variable?
Why is c used in embedded systems?
What are local variables c?
How can I ensure that integer arithmetic doesnt overflow?
what are the different storage classes in c?
What does *p++ do?
Why doesnt this code work?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
Stimulate calculator using Switch-case-default statement for two numbers
what is the structure pointer?