Hi,
main()
{
}
Is a user defined function or Built in Functionn
Answer Posted / hemanth
main method is inbuilt function.Execution of the program starts with main().JVM should know where the execution of the program start.If it is user defined function,why cant we write
int instead of void before main(string args[]).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
Why c is faster than c++?
What are the types of variables in c?
Are the variables argc and argv are always local to main?
Why do some versions of toupper act strangely if given an upper-case letter?
where are auto variables stored? What are the characteristics of an auto variable?
Can we increase size of array in c?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
What does the characters “r” and “w” mean when writing programs that will make use of files?
What are qualifiers?
Explain what is the difference between #include and #include 'file' ?
Can the curly brackets { } be used to enclose a single line of code?
How do I send escape sequences to control a terminal or other device?