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 |
Is there a built-in function in C that can be used for sorting data?
What is #line in c?
how to implement stack work as a queue?
We can draw a box in cprogram by using only one printf();& without using graphic.h header file?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
nic scientist exam
Can we use visual studio for c?
what is the purpose of the code, and is there any problem with it. unsigned int v[10]; unsigned int i = 0; while (i < 10) v[i] = i++;
What is hungarian notation? Is it worthwhile?
How we can write a value to an address using macro..?
Differentiate Source Codes from Object Codes
a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above