English

Does the return type of a function help in overloading a function?

Advertisements

Question

Does the return type of a function help in overloading a function?

One Line Answer
Advertisements

Solution

No. The return type of overloaded functions is not considered for overloading the same data type.

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

APPEARS IN

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



      Forgot password?
Use app×