-
What is the problem in the following C declarations?
int function(int);
double function(int);
int function(float);
-
- A function with same name cannot have different return types
- A function with same name cannot have different number of parameters
- A function with same name cannot have different signatures
- All of above
- None of these
Correct Option: D
*A function with same name cannot have different return types.
*A function with same name cannot have different number of parameters.
*A function with same name cannot have different signatures.