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
I heard that you have to include stdio.h before calling printf. Why?
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); } }
What does node * mean?
What is the size of structure pointer in c?
In c programming language, how many parameters can be passed to a function ?
What is the difference between variable declaration and variable definition in c?
What is the difference between if else and switchstatement
What is modifier & how many types of modifiers available in c?
explain what are actual arguments?
Can you tell me how to check whether a linked list is circular?
Explain how can I manipulate strings of multibyte characters?
Why do we use c for the speed of light?
Can a local variable be volatile in c?
When should I declare a function?
Why is c called c not d or e?