Computer Science, asked by Deependra8173, 1 year ago

What will be printed when this program is executed?

int f(int x) { if(x <= 4) return x; return f(--x); } void main() { printf("%d ", f(7)); }
A.4 5 6 7
B.1 2 3 4
C.4
D.Syntax error

Answers

Answered by Neeraj723
0
______✨ HEY MATE ✨_____

➡️ Option (a) is the right answer ✔️

✌✌Hope it's help u ✌✌
Answered by afruja70
0
Hello mate

here's your answer

¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

Option A✔✔

4 5 6 7 ...
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

Hope it helps you
Similar questions