Two parameters cannot have the same name within a single declaration . If a parameter name is the same as a name outside the function, the name outside the function is hidden and cannot be used in the parameter declaration.
Is it mandatory to specify the same name for the parameters in declaration and definition of a function justify?
Two parameters cannot have the same name within a single declaration . If a parameter name is the same as a name outside the function, the name outside the function is hidden and cannot be used in the parameter declaration.