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 is quick sort in c?
Define the scope of static variables.
Where define directive used?
What is bin sh c?
int arr[] = {1,2,3,4} int *ptr=arr; *(arr+3) = *++ptr + *ptr++; Final contents of arr[]
write a program in c to print **** * * * * ****
What do header files do?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
how many key words availabel in c a) 28 b) 31 c) 32
Write a pro-gramme to determine whether the number is even or odd?
What are pragmas and what are they good for?
What's wrong with "char *p; *p = malloc(10);"?