1. What will be displayed by test(3); ? void test(int n) { if(n== 1) cout << "*"; else { test(n-1); cout << "$": }
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
1. What will be displayed by test(3); ? void test(int n) { if(n== 1) cout << "*"; else { test(n-1); cout << "$": }
1. What will be displayed by test(3); ? void test(int n) { if(n== 1) cout << "*"; else { test(n-1); cout << "$": }
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!