Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DEGREE LEVEL : PROGRAMMING IN C (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Solution
Solution
What is a potential risk of a recursive function that is not properly terminated with a base case?
Solution
What is the fundamental conceptual difference between "pass-by-value" and "pass-by-reference" for function parameters in C?
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
In C programming, which memory region is typically used for dynamic memory allocation?
Solution
Solution
Solution
When a macro is used in a C program, at what stage is its definition replaced into the code?
Solution
Consider the below C program:

What will be the output of the given C program?
What will be the output of the given C program?
Solution
Solution
Consider the following C code:

What is the output of the program?
What is the output of the program?
Solution
Solution
Solution
Consider the following C code:

What will be the output of the given program?
What will be the output of the given program?
Solution
Solution
Shape
Thickness [ / ]
3
All colors