Reputation: 116
What is the difference between below function prototype declarations?
int a(double = 0, double = 10);
int a(double j = 0, double a = 10);
Upvotes: 0
Views: 84
Reputation: 29985
These are both function declarations. Parameter names in function declarations are purely for documentation. So there is no technical difference.
Upvotes: 6