The short answer, is because the C++ standard requires main() to return int . As you probably know, the return value from the main() function is used by the runtime library as the exit code for the process. Both Unix and Win32 support the concept of a (small) integer returned from a process after it has finished.
Saturday, 13 April 2019
Subscribe to:
Post Comments (Atom)
Express.js
Express.js:- -Express.js was originally created by TJ Holowaychuk in 2010. -Express.js is a web framework for Node.js. -It is an open-sour...
-
Python Topics: 1. Python Topics: 1. Control Statements or Control Structures a. Conditional Statements or Decisi...
-
Python Topics: 1. Difference between C, C++, JAVA & Python 2. Python Basics 3. Python Versions ...
-
Python Topics 1. List 2. Tuples 3. Strings 4. Dictionaries 5. Set ...
No comments:
Post a Comment