Sail E0 Webinar
Question
What is the problem in the following declarations?     int func(int);     double func(int);     int func(float);
Options:
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
Answer: Option D


None.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers