Code for Program of declaration of default arguments during creation of function in C++ Programming
#include<iostream.h>
#include<conio.h>
void f(int i=5,int j=10)
{
cout<<"I = "<<i<<endl;
cout<<"J = "<<j<<endl;
}
main()
{
clrscr();
int i=15,j=20;
f();
f(i);
f(j);
f(i,j);
}