- 1

What is function overloading and deafault arguments in c++

C++

10th May 2021, 9:32 PM
Bonigi Bhargava Kumar
Bonigi Bhargava Kumar - avatar
2 odpowiedzi
0
Function overloading => same function name but different implementation . Default arguments => setting default value to local variable of a function . this will get override if we pass value to the parameter . and will be used default value in case we don't pass value to it.
10th May 2021, 9:49 PM
TOLUENE
TOLUENE - avatar