R
Q. What is the output of C Program with recursive function?
int sum(int); int main() { int b; b = sum(4); printf("%d", b); } int sum(int x) { int k=1; if(x<=1) return 1; k = x + sum(x-1); return k; }
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. What value does testarray[2][1][0] in the sample code contain?
Q. What is the output of C program?
Q. Ternary operator in C programming is ___.
Q. Type of data and its value is described dy
Q. Which of the following is correct set of keywords?
Q. What does “short int” mean in C programming?
Q. What will be output if you will compile and execute the following c code?
Q. What are the new features of C11 or ISO IEC 9899 2011 standard?
Discusssion
Login to discuss.