In C++, if program executed successfully, following value will be returned to the calling process if nothing specified in return statement?

Options
- 0
- 1
- -1
- 2


CORRECT ANSWER : 0

Discussion Board
C++ - Return Statment

In C++ if program is executed successfully and nothing specified in return statement, it returns 0 to the calling process.

Prajakta Pandit 01-30-2017 12:19 AM

Write your comments

 
   
 
 

Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement