Google News
logo
CPP - Quiz(MCQ)
Which of the following permits function overloading on c++?
A)
type
B)
number of arguments
C)
type & number of arguments
D)
number of objects

Correct Answer :   type & number of arguments


Explanation :

Both type and number of arguments permits function overloading in C++, like
int func(int);
float func(float, float)
Here both type and number of arguments are different.

Advertisement