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 |
How can I invoke another program or command and trap its output?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
Describe dynamic data structure in c programming language?
What is a Genralised LInked List?? Please give a detailed explation of it..
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 5 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
How many types of operators are there in c?
What are the various topologies? Which one is the most secure?
What is indirect recursion? give an example?
Combinations of fibanocci prime series
Write the following function in C. stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return - 1. The function should not make use of any C library function calls.
3 Answers Google, Infosys, JTL, OpenFeel,
Find string palindrome 10marks
5 Answers Honeywell, Infosys, Riktam, Roland,
What is the difference between char array and char pointer?