Q. How many times will the function execute in the following recursive call? int func(int n) { if(n==0) return 0; else return func(n-1); }
निम्नलिखित पुनरावर्ती कॉल में फ़ंक्शन कितनी बार निष्पादित होगा? int func(int n) { if(n==0) return 0; अन्यथा वापसी func(n-1); }
Explanation
Explanation will be available soon. Please stay tuned.
व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।
Invest in Future Achievers
Your support helps keep Exam Achiever 100% free for students preparing for exams.
Thanks for your support!
Comments
Leave a Comment