Why does the compiler give an error for the below declaration
void fun(int a = 10,int b);
I stumbled upon this post. But I am still not sure why the C++ compiler puts this restriction.
Why does the compiler give an error for the below declaration
void fun(int a = 10,int b);
I stumbled upon this post. But I am still not sure why the C++ compiler puts this restriction.