main is a predefined or user define function
if user defined why?
if predefined whay?
Answer Posted / vilas soni++
main() is predefined function, coz we can't change it's
prototype....
We can only implement it.... And we have to use main() in
our program coz it's "Entry Point" to any C program....
(We can say userdefined, if we can also define it's
prototype and name, and in this case we can't!, we can use
only available types of main()....)
| Is This Answer Correct ? | 10 Yes | 12 No |
Post New Answer View All Answers
What is #define?
Write a program to use switch statement.
Explain Basic concepts of C language?
What is the use of f in c?
What is a pragma?
What is the sizeof () operator?
What does & mean in scanf?
Explain the properties of union.
Can a pointer be static?
How do you search data in a data file using random access method?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
Can you add pointers together? Why would you?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
What is the general form of #line preprocessor?