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 recursion in C programming is not true?
Solution
Let a pointer variable ptr hold the address of another integer variable var. Which of the following statements will correctly print the value of var?
Solution
Which of the following statements is not true about arrays in C?
Solution
Which of the following statements is true about structures in C?
Solution
In C programming, which memory region is typically used for dynamic memory allocation?
Solution
Which function is used to write data to a file in C programming?
Solution
What does the #define directive do in C preprocessor?
Solution
Solution
Solution
Solution
Solution
Solution
Solution
What will be the output of the above program?
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Select the correct statements from the below that dynamically allocate memory to hold 3 integer pointers. Assume size of int is 4 bytes, size of char is 1 byte and size of pointer is 8 bytes.
Solution
Solution
Solution
Solution
Solution
Shape
Thickness [ / ]
3
All colors