मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता ११

What are the rules for function overloading? - Computer Science

Advertisements
Advertisements

प्रश्न

What are the rules for function overloading?

टीपा लिहा

उत्तर

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 15: Polymorphism - Evaluation - Section - C [पृष्ठ २५७]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 11 TN Board
पाठ 15 Polymorphism
Evaluation - Section - C | Q 1. | पृष्ठ २५७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×