Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


In which category does main function belong??

Answers were Sorted based on User's Feedback



In which category does main function belong??..

Answer / ektasingh

main is not user defined.(user defined functions can have
any name )

main is not inbuilt.(it has not been defined in any library)

what is main????

Is This Answer Correct ?    6 Yes 3 No

In which category does main function belong??..

Answer / 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

In which category does main function belong??..

Answer / devi

main function is used in C,C++,Java languages which is
first read by the compiler.

Is This Answer Correct ?    1 Yes 1 No

In which category does main function belong??..

Answer / abhinendra bhadauriya

main is an thread which create process in the memory with the help of operating system

Is This Answer Correct ?    1 Yes 1 No

In which category does main function belong??..

Answer / sonu

main function part of class so its name is main, and it is execute execute by the compiler outside the class so it is made public, and it is getting the memory at compile time so it is static , and it is not return any value so it is void .

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001

2 Answers  


read an array and search an element

1 Answers  


What is the best way to comment out a section of code that contains comments?

0 Answers  


What is the g value paradox?

0 Answers  


What is an example of structure?

0 Answers  


write a C program : To find out the number of identical words in two files . the file name should be taken as command line argument .

1 Answers   Subex,


why you will give me a job in TCS.

7 Answers   TCS,


Write one statement equalent to the following two statements x=sqr(a); return(x); Choose from one of the alternatives a.return(sqr(a)); b.printf("sqr(a)"); c.return(a*a*a); d.printf("%d",sqr(a));

6 Answers   TCS,


If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above

0 Answers  


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

0 Answers  


Write a program to print numbers from 1 to 100 without using loop in c?

0 Answers  


What are identifiers in c?

0 Answers  


Categories