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

How do I get an accurate error status return from system on ms-dos?

653


Why does everyone say not to use scanf? What should I use instead?

682


What are the features of c language?

625


What is .obj file in c?

650


What does node * mean?

716






Who invented bcpl language?

709


Write a code to remove duplicates in a string.

633


can we have joblib in a proc ?

1659


What are types of functions?

571


Explain how can I make sure that my program is the only one accessing a file?

633


How to write c functions that modify head pointer of a linked list?

548


write a proram to reverse the string using switch case?

2473


What is binary tree in c?

626


how can I convert a string to a number?

600


What is the return type of sizeof?

598