main is a predefined or user define function
if user defined why?
if predefined whay?
Answer Posted / 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 |
Post New Answer View All Answers
What do header files do?
What is the significance of scope resolution operator?
why do some people write if(0 == x) instead of if(x == 0)?
Can we add pointers together?
In C, What is the #line used for?
why programs in c are running with out #include
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
What is a struct c#?
What does %2f mean in c?
What is clrscr ()?
What is the condition that is applied with ?: Operator?
What is memory leak in c?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
How to throw some light on the b tree?
What does the characters “r” and “w” mean when writing programs that will make use of files?