In which category does main function belong??

Answer Posted / ankur mohan sharma

Main is a user defined function.
It has an important property that it is first recognised by compiler. So it must be present in a program.
A user defined function is one whose defination is given by user and Since you define main's working. So it is a user defined function.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the description for syntax errors?

621


What is pointer and structure in c?

576


Is struct oop?

588


What are the 4 types of unions?

615


How do we print only part of a string in c?

591






Explain which function in c can be used to append a string to another string?

594


Can you think of a logic behind the game minesweeper.

2012


What does 4d mean in c?

951


What are control structures? What are the different types?

602


What is difference between class and structure?

575


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

4992


What is the meaning of ?

626


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

653


How can you avoid including a header more than once?

568


What are header files? What are their uses?

642