English

Which of the following is an invalid prototype for function overloading?

Advertisements

Question

Which of the following is an invalid prototype for function overloading?

Options

  • void fun (intx);
    void fun (char ch) ;

  • void fun (intx);
    void fun (inty);

  • void fun (double d);
    void fun (char ch);

  • void fun (double d);
    void fun (inty);

MCQ
Advertisements

Solution

void fun (intx);
void fun (char ch) ;

shaalaa.com
  Is there an error in this question or solution?
Chapter 15: Polymorphism - Evaluation - Section - A [Page 257]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 15 Polymorphism
Evaluation - Section - A | Q 5. | Page 257
Advertisements
Share
Notifications



      Forgot password?
Use app×