English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

What are the rules for function overloading? - Computer Science

Advertisements
Advertisements

Question

What are the rules for function overloading?

Short Note

Solution

Rules for function overloading:

  1. The overloaded function must differ in the number of its arguments or data types.
  2. The return type of overloaded functions is not considered for overloading the same data type.
  3. The default arguments of overloaded functions are not considered as part of the parameter list in function overloading.
shaalaa.com
  Is there an error in this question or solution?
Chapter 15: Polymorphism - Evaluation - Section - C [Page 257]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×