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
Which of the following statements about the do-while loop in C is true?
Solution
What will be the output of the following program?

Solution
Which of the following correctly describes the difference between calloc() and malloc() in C?
Solution
What will be the output of the following program?

Solution
Which operator has the highest precedence from the given below in C?
Solution
Which of the following are valid ways to declare an array in C?
Solution
Which of the following is a correct statement about pointers in C?
Solution
What will be the output of the following program?

Solution
Which of the following keywords can be used to stop recursion in C?
Solution
What will be the output of the following C program?

Solution
What will be the output of the following program?

Solution
What will be the output of the following program?

Solution
Which storage class makes a variable retain its value across multiple function calls?
Solution
Which of the following statements about structures in C are correct?
Solution
What will be the output of the following program?

Solution
What will be the output of the following program?

Solution
Which function is used to move the file pointer to a specific location?
Solution
What will be the output of the following program?

Solution
What will be the output of the following program?

Solution
Which of the following functions is used to dynamically change the size of allocated memory?
Solution
Which of the following statements about macros is true?
Solution
What will be the output of the following program?

Solution
Which header file must be included to use dynamic memory allocation functions in C?
Solution
Which of the following is not a valid C preprocessor directive?
Solution
What will be the output of the following program?

Solution
Shape
Thickness [ / ]
3
All colors