Discussion :: C++ - MCQs
- When will we use the function overloading?
A.
same function name but different number of arguments
|
B.
different function name but same number of arguments
|
C.
same function name but same number of arguments
|
D.
different function name but different number of arguments
|
Answer : Option A
Explanation :
In function overloading, we can use any number of arguments but same function name.
Be The First To Comment