main is a predefined or user define function
if user defined why?
if predefined whay?
Answers were Sorted based on User's Feedback
Answer / shankar dayal
main() function is niether predefined nor user defined function. Because if it is predefined, when program is written in main() function then given their own logic then how it is predefined. Another one if it is user defined, then we can write the any function name on the place of main(). So main() is niether a predefined nor user defined function.
| Is This Answer Correct ? | 1 Yes | 4 No |
Answer / ankith.v
main is Predefined.why because its is implemented by the
developer
| Is This Answer Correct ? | 3 Yes | 13 No |
WAP to accept first name,middle name & last name of a student display its initials?
Differentiate between new and malloc(), delete and free() ?
How do I read the arrow keys? What about function keys?
how to execute a program using if else condition and the output should enter number and the number is odd only...
What is the use of putchar function?
Explain Function Pointer?
what is the difference between : func (int list[], ...) or func (int *list , ....) - what is the difference if list is an array and if also if list is a pointer
how to find the size of the data type like int,float without using the sizeof operator?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
which operator is known as dummy operator in c?
what is the difference between declaration and definition of a variable or function ?
Unsigned char c; for ( c=0;c!=256;c++2) printf("%d",c); No. of times the loop is executed ?