Answer Posted / 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 View All Answers
What is the difference between the expression “++a” and “a++”?
Who is the main contributor in designing the c language after dennis ritchie?
How can my program discover the complete pathname to the executable from which it was invoked?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
why do some people write if(0 == x) instead of if(x == 0)?
what is the format specifier for printing a pointer value?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
Why static variable is used in c?
Differentiate between the expression “++a” and “a++”?
Is c still used?
List some basic data types in c?
Explain how can I pad a string to a known length?
Why is c called c not d or e?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
Linked lists -- can you tell me how to check whether a linked list is circular?