C Functions Questions and Answers
C Functions Questions with Answers provide an in-depth look at one of the most fundamental concepts in C programming. Understanding how to define, call, and manage user-defined and library functions is key to mastering structured programming. These C programming MCQs are widely used in technical interviews and coding tests conducted by companies like TCS, Wipro, and Infosys. Each question includes explanations to help you grasp parameter passing, recursion, return types, and scope. Practicing programming questions with answers strengthens your coding logic and prepares you for real-world software challenges. Download C programming MCQ PDFs and practice online to enhance your technical aptitude efficiently.
C Functions
Showing 10 of
151 questions
151. 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); } }
- 0 1 2 0
- 0 1 2 1
- 1 2 0 1
- 0 2 1 1