[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Declarations and Initializations - Discussion

Home > C Programming > Declarations and Initializations > MCQs Questions Discussion

24 / 54

What is the problem in the following declarations?

int func(int);
double func(int);
int func(float);

AA function with same name connot have different signatures.

BA function with same name cannot have different return types.

CA function with same name cannot have different number of parameters

DAll of the mentioned.

Answer: Option (Login/Signup)

Show Explanation

A function with the same name cannot have different signatures.



 int func(int); double func(int);



A function with the same name cannot have different return types. 



double func(int);

int func(float);



  A function with the same name cannot have a different number of parameters



.int func(int);int func(float);



 

Asked In :: Nagarro

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here