1. What will be displayed by test(3); ? void test(int n) { if(n== 1) cout << "*"; else { test(n-1); cout << "$": }
Posted: Mon May 09, 2022 7:15 am
1. What will be displayed by test(3); ? void test(int n) { if(n== 1) cout << "*"; else { test(n-1); cout << "$": }