Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following is the default return value of functions in C++?

a) int
b) char
c) float
d) void

Answer: a
Explanation: C++ uses int as the default return values for functions. It also restricts that the return type of the main function must be int.

Join The Discussion