What is the problem in the following C declarations?
A. A function with same name cannot have different signatures
B. A function with same name cannot have different return types
C. A function with same name cannot have different number of parameters
D. All of the mentioned
Code:
int func(int);
double func(int);
int func(float);
B. A function with same name cannot have different return types
C. A function with same name cannot have different number of parameters
D. All of the mentioned