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 |
In a byte, what is the maximum decimal number that you can accommodate?
Explain the use of function toupper() with and example code?
Finding first/last occurrence of a character in a string without using strchr( ) /strrchr( ) function.
What is meaning of tree
Is javascript written in c?
Does sprintf put null character?
While(1) { } when this loop get terminate is it a infinite loop?
If you know then define #pragma?
What is the difference between a structure and a union?
enum DAY { sunday, monday, tuesday }; enum EDAYS { friday, saturday, sunday }; void main() { int i =0; if( i == sunday) { printf("%d",i); } } what would be the output?
why Language C is plateform dependent
can u write a program in C, which does not use = (eqaul)or any arithmatic assignment(like -=,+=,*= etc) operator to swap to number?