Computer Science · Java Programming
Java में निम्नलिखित रिकर्सिव फ़ंक्शन F() पर विचार करें: public static String F(int N) { if (N <= 0) return "-"; return F(N - 3) + N + F(N - 2) + N; } फ़ंक्शन कॉल F(5) द्वारा रिटर्न किया गया मान क्या है?
- 1-2-25-3-1-135✓
- 2-1-145-2-245
- 3-2-25-1-3-135
- 4-2-25-3-135
सही उत्तर देखें
-2-25-3-1-135
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Java Programming?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Java Programming