Home » C Programming » Functions » Question
  1. What is the problem in the following C declarations?
    int function(int);
    double function(int);
    int function(float);
    1. A function with same name cannot have different return types
    2. A function with same name cannot have different number of parameters
    3. A function with same name cannot have different signatures
    4. All of above
    5. 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.



Your comments will be displayed only after manual approval.