GATEverse
← GATE CSE 2016 Set 1

Q35

MCQ2 marks, −0.67

What will be the output of the following CC program? void count (int n) { static int d=1; printf ("%d",n); printf ("%d",d); d++; if (n>1) count (n-1); printf ("%d",d); } void main(){ count (3); }

Sign in to save attempts.

Loading…