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
How to connect the .accdb database file of microsoft access to the Visual Basic 6.0 forms?
diffrence between oracle apps , .NET , SAP
what is the difference between read the data from table and infotype
Given a set. Write the pseudo code to get all the subsets for the given set. Eg. Input : {1,2} Output : (),(1),(2),(1,2)
what is delegate and delegation model give the real live example on delegate model
What is the difference beween joblib and steplib statements
In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?
Mainly Related to Oracle, DBMS , Oracle Stored Procedures, Functions, Oracle 9i Architecture, Redo logs..., Views,
how to check single or double byte in struts
Explain the difference between an expert and a novice user. How would your strategy for designing user interfaces for an expert user differ from that for designing user interfaces for a novice user.
when a query is made on Logical file in DB2/400, will the records satisfying select/omit criterion be fetched from all members of physical file or only the member with same name as physical file?
I have try to write a record in a TDQ from a fle.... what are the steps to do... can anybody plz come with a solution
Tell me the jobs for the MCA Fresher in delhi, Noida..
what is the use MDM(Master Data Management)and meaning
What for decision coverage and modified condition decision coverage are used? Wat is the difference between them?