why main() method should not return any value
Answer Posted / nadeem khokhar
execution starts from the main function. no function can call it, which means no function can save the returned value from main. then why should we take its return type as we can not use that any where! i do agree to jhill123 that in C we write int main instead of void main, it is used for exception handling.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
what is difference between object oriented programming structure and object oriented programming system?
what is client server & server? What r types of Joins? explsin it! which types of indexex in sql server? what is triggers?
Find out the list of authorization objects which contains activity as a field? Thanks in advance.
how sap is different from other software ?
what are resources in case of Threads
I am looking for NIC Sample papers or any patern of questions/ syllabus plz, send me on hamid.khan135@yahoo.in Regard
Tips for blog integration by www.esteemwebsolutions.com. Can Any body suggest me to how to make wonderful questions on web integration..
Have you used callsymputx? what points need to be kept in mind when using it?
WHAT IS MAIN IMPORTANT THING IN SOFTWARE?
in IBM PC -AT.WAT AT REFERS TO?
Hello Experts, What is the difference between move and move corresponding exactly? please post me asap
how CLR identify vb file?
4. What is the need of START 0? Instead if can we use any other numeric? If we use what will happen?
Diffrence between 2.0,3.0,3.5,4.0. versions of .net?
Explain the types of operations? Draw the figure for shift and rotate operations?