Answer Posted / ankur mohan sharma
Main is a user defined function.
It has an important property that it is first recognised by compiler. So it must be present in a program.
A user defined function is one whose defination is given by user and Since you define main's working. So it is a user defined function.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How is a macro different from a function?
Where is c used?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
What are the 5 types of inheritance in c ++?
Is python a c language?
Why void main is used in c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What language is windows 1.0 written?
What are dangling pointers? How are dangling pointers different from memory leaks?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What is scope rule in c?
What do you understand by friend-functions? How are they used?
Why & is used in c?
What is #define size in c?
Which is more efficient, a switch statement or an if else chain?