main is a predefined or user define function
if user defined why?
if predefined whay?
Answer Posted / vilas soni++
main() is predefined function, coz we can't change it's
prototype....
We can only implement it.... And we have to use main() in
our program coz it's "Entry Point" to any C program....
(We can say userdefined, if we can also define it's
prototype and name, and in this case we can't!, we can use
only available types of main()....)
Is This Answer Correct ? | 10 Yes | 12 No |
Post New Answer View All Answers
What are the usage of pointer in c?
Write a program to know whether the input number is an armstrong number.
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Explain void pointer?
What are all different types of pointers in c?
how do you programme Carrier Sense Multiple Access
how to write a c program to print list of fruits in alpabetical order?
Can a file other than a .h file be included with #include?
What does return 1 means in c?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
#include
What is a stream?
Write a program to reverse a given number in c language?
What does %p mean?
How can I make sure that my program is the only one accessing a file?