M
Q. What will be the output of the following code snippet?
#include <stdio.h> void solve(int x) { if(x == 0) { printf("%d ", x); return; } printf("%d ", x); solve(x - 1); printf("%d ", x); } int main() { solve(3); return 0; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. The rule for implicit type conversion is
Q. What is the output of the program?
Q. What is the output of the C statement.?
Q. What is the output of C Program with functions?
Q. Is it possible to nest if-else statements in C programming?
Q. How to initialize a pointer to an array of 10 char?
Q. What is the output of C program?
Q. Which of the following has same Precedence? A. ++ B. -> C. !
Q. Which of the below statements is incorrect in case of union?
Discusssion
Login to discuss.