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


Please Help Members By Posting Answers For Below Questions

I heard that you have to include stdio.h before calling printf. Why?

840


What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

2287


What does node * mean?

986


What is the size of structure pointer in c?

837


In c programming language, how many parameters can be passed to a function ?

898


What is the difference between variable declaration and variable definition in c?

829


What is the difference between if else and switchstatement

1600


What is modifier & how many types of modifiers available in c?

836


explain what are actual arguments?

854


Can you tell me how to check whether a linked list is circular?

1099


Explain how can I manipulate strings of multibyte characters?

1003


Why do we use c for the speed of light?

835


Can a local variable be volatile in c?

785


When should I declare a function?

841


Why is c called c not d or e?

866