In which category does main function belong??
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
What does the message "automatic aggregate intialization is an ansi feature" mean?
what is the differnce between AF_INET and PF_INET?
5 Answers Systems Plus, Wipro,
how can i get the string which is having two spaces at the end.suppose the string is "Hello World ".Now at the end i have two spaces.i need to print with that spaces .
why we need function pointers?
What are the different types of endless loops?
What is a void pointer? When is a void pointer used?
int main() { unsigned char a = 0; do { printf("%d=%c\n",a,a); a++; }while(a!=0); return 0; } can anyone please explain me output????
simple program of graphics and their output display
What is the significance of scope resolution operator?
0 Answers Agilent, ZS Associates,
What is c token?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
Write a program to reverse a string.
0 Answers Global Logic, iNautix, TCS, Wipro,