Ved International Discussion Board


Join the forum, it's quick and easy

Ved International Discussion Board
Ved International Discussion Board
Would you like to react to this message? Create an account in a few clicks or log in to continue.

The standard for main( ) is to return an int, but Standard C++ states

Go down

The standard for main( ) is to return an int, but Standard C++ states Empty The standard for main( ) is to return an int, but Standard C++ states

Post by binusasi Sun Jul 08, 2012 8:29 pm

The standard for main( ) is to return an int, but Standard C++
states that if there is no return statement inside main( ), the
compiler will automatically generate code to return 0. This option
(no return statement in main( )) will be used in this book (some
compilers may still generate warnings for this, but those are not
compliant with Standard C++).
binusasi
binusasi
LEADER Of ALL
LEADER Of ALL

Posts : 7988
Join date : 2011-12-07

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum