Back To C++ User Defined Functions Index
//program to create a function that accepts default arguments #include
#include
void volume(int width,int depth=10,int height=20) { int vol; vol=width*depth*height; cout<<"\nvolume of box is "<