I have one doubt with C++ function arguments declaration;
Normally if want to declare more than one variables with same type,C++ have option to declare with in same declaration ; ( int a,b ; this will declare a and b same int type);
Why this option is disabled when come to function arguments ? (We can't specify function arguments as void display(int a,b) ; we should specify type for both argumrnts seperatly)
Is there any reason to do this?
Why language designers disabled this option in function argunments?
Bookmarks