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 / maskfriend
d.any where in the program. but it should declare after the
declaration of veriable where it starts execution of the
program
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is difference between scanf and gets?
What is the use of parallelize in spark?
What is c definition?
What does main () mean in c?
How do I get an accurate error status return from system on ms-dos?
Why is void main used?
What is storage class?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
What do you mean by a sequential access file?
What are pragmas and what are they good for?
What is bash c?
What is struct node in c?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
What is an lvalue in c?
How can you restore a redirected standard stream?