When the arguments you pass to the called function are most probably of some definite values, you can specify these values in the function prototype. When the values of the parameters are the default ones, you can omit the parameters.
void count(int x = 1, int y = 1, int z = 1)
{...}
int main ( )
{
count();
count (2, 3);
}
Posted By :-Cplusplusprogramming
void count(int x = 1, int y = 1, int z = 1)
{...}
int main ( )
{
count();
count (2, 3);
}
Posted By :-Cplusplusprogramming