मराठी

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×