main is a predefined or user define function
if user defined why?
if predefined whay?
Answer Posted / mayank jain
Main() is a user define function because user define it, and main is a keyword that is predefined, that also tell the compiler for the execution of program is starting from here.
when we Write the program we never declare the main function anywhere, only define it.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
#include
Is there a way to jump out of a function or functions?
What is strcpy() function?
Explain c preprocessor?
Where are c variables stored in memory?
What are directives in c?
Is it possible to initialize a variable at the time it was declared?
What is sizeof return in c?
Explain modulus operator.
Is flag a keyword in c?
What are logical errors and how does it differ from syntax errors?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
How does normalization of huge pointer works?
how do you execute a c program in unix.
What is the difference between exit() and _exit() function?