🤔 No result found

👉 Don't loose hope, Try out below methods

Ask on Telegram
  • 💡 Search Tips
  • ➡️ Type question from start
  • ➡️ Use unique words from question
  • ❌ Don't search full question
Telegram Group 🔥🔥🔥 Get answers in minutes
Questions answered : 48 /50
Guy
Guy
Guy
Guy
Guy
+ 4981 more
Verified Answer verified

What is the output of the following code?#includeint cat_number(int n){     int i,j,arr[n],k;     arr[0] = 1;     for(i = 1; i < n; i++)     {         arr[i] = 0;         for(j = 0,k = i - 1; j < i; j++,k--)         arr[i] += arr[j] * arr[k];     }     return arr[n-1];}int main(){     int ans, n = 8;     ans = cat_number(n);     printf("%d\n",ans);     return 0;}

🗓 Feb 21, 2023

Answer is "429"

Comments and Discussions

You don't need to login to post your comment

Comments:
30
Views:
60k
Likes:
120k
votes
Kathryn 🌐 India
hmm, where is the explanation
Was this answer helpful?
votes
Samantha 🌐 India
Please please explain this answer to me
Was this answer helpful?

Was your question answered?

Thanks for the feedback! ✅

Want to get famous? 📸

Answer question and get 🤩 high-lighted on our homepage.

Just Automated Logo

© 2017-2022 Foxoyo™
All rights reserved.

Facebook Connect with us