main is a predefined or user define function
if user defined why?
if predefined whay?

Answer Posted / sandeep kumar yadav

the definition of main is given by the user so it is called
user define function..
the prototype is define by the compiler so it is called
predefine...
this function is dependent on both user and compiler for
the execution of the program.so it is not only user define
or predefine..
so we can say it is a special function called by operating
system to execute the program.

Is This Answer Correct ?    22 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c still relevant?

868


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

2902


How many keywords are there in c?

836


What is && in c programming?

926


What is void c?

794


Differentiate between the expression “++a” and “a++”?

1013


What is difference between far and near pointers?

821


Who invented b language?

1168


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

1335


What is the purpose of ftell?

857


What are formal parameters?

879


in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above

829


What is keyword with example?

844


is it possible to create your own header files?

864


What is size of union in c?

794