Find m to power n with Default Argument in C++
Create a function power() to raise a number m to power n, the function takes a double value for m and int value for n, and returns the result correctly.
Create a function power() to raise a number m to power n, the function takes a double value for m and int value for n, and returns the result correctly.
Write a C++ program to demonstrate the use of default arguments in function overloading.