What is the problem in the following C declarations? [code] int func(int); double func(int); int func(float);[/code]

Hằng Đoàn

New member
What is the problem in the following C declarations?
Code:
   int func(int);
   double func(int);
   int func(float);
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
 

Tìm kiếm

Back
Top