हिंदी

Define Recursive method. - Computer Applications

Advertisements
Advertisements

प्रश्न

Define Recursive method.

परिभाषा

उत्तर

  1. It is a method designed in such a way that it calls itself in its body. It is used for repetitive operations. 
  2. Example: 
    int fact(int n) 
    { 
    return (n * fact (n -1)); 
    } 
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: User - Defined Methods - EXERCISES [पृष्ठ ३३७]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 5 User - Defined Methods
EXERCISES | Q VI. 14. (d) | पृष्ठ ३३७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×