OOPS
November 11, 2023Theory-of-Computation
November 11, 2023OOPS
Question 15
|
Function overloading in C++ is
A group function with the same name
|
|
all have the same numbers and type of arguments
|
|
functions with same name and same numbers and same type of arguments
|
|
None of the given options
|
Question 15 Explanation:
Function Overloading is defined as the process of having two or more function with the same name, but different in parameters is known as function overloading in C++. In function overloading, the function is redefined by using either different types of arguments or a different number of arguments.
Correct Answer: A
Question 15 Explanation:
Function Overloading is defined as the process of having two or more function with the same name, but different in parameters is known as function overloading in C++. In function overloading, the function is redefined by using either different types of arguments or a different number of arguments.