Google News
logo
CPP - Quiz(MCQ)
What are mandatory parts in the function declaration?
A)
parameters, function name
B)
parameters, variables
C)
return type, function name
D)
return type, function name, parameters

Correct Answer :   return type, function name


Explanation : In a function, return type and function name are mandatory all else are just used as a choice.

Advertisement