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

What are function pointers? Provide an example.

1 Answers  


pgm to find middle element of linklist(in efficent manner)

4 Answers   Huawei,


What are lookup tables in c?

0 Answers  


Program to find larger of the two numbers without using if-else,while,for,switch

11 Answers   iNautix, Wipro,


What are the types of arrays in c?

0 Answers  


What is string length in c?

0 Answers  


What is variable in c with example?

1 Answers  


plz answer.. a program that takes a string e.g. "345" and returns integer 345

4 Answers  


Do variables need to be initialized?

0 Answers  


how do we remove the printed character in printf statement and write next it it

1 Answers  


what is difference between getchar,putchar functions and printf and scanf function? does putchar show output only when input given to it

5 Answers   DIT,


consider the following program sigment int n,sum=1; switch(n) { case 2:sum=sum+2; case 3:sum*=2; break; default:sum=0;} if n=2, what is the value of sum a.0 b.6 c.3 d.none

7 Answers   TCS,


Categories