Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the mentioned

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
413
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Yashika
Publisher
πŸ“ˆ
91%
Success Rate