C Functions Questions and Answers

Practice Mode
Showing 10 of 151 questions
Q151
Find the output void e(int); void main ( ) { int a; a=3; e (a); } void e(int sun) { if (sun>0) { e(--(sun);; printf("%d ", sun); e(--sun); } }
  • A 0 1 2 0
  • B 0 1 2 1
  • C 1 2 0 1
  • D 0 2 1 1
Answer: Option B
Questions and Answers for Competitive Exams Various Entrance Test