C++ Default Parameters

C++ Default Parameters


C++ Default Parameters:
C++ provides to default parameters for functions, Whenever a call is made to a function without specifying an argument, then the program will automatically assign values to parameters from the default parameters specified in function.
Example:

Output :