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
Solution
Solution
Consider an integer variable holding a value “0x89209899”. Suppose the available memory addresses are starting from the address “0x128” in a machine, which of the following stores this multibyte data in the little endian way?
Solution
Which of the following statements about array initialization in C is correct?
Solution
Solution
Solution
Solution
Solution
In a union, how is memory allocated for its members?
Solution
Solution
Solution
Suppose you open a file in “a” mode, write 10 characters - ABCDEFGHIJ, and close it. You open it again using “w” mode, write 5 characters - KLMNO, and close it. What will be the content of the file when you open it in “r” mode?
Solution
Solution
Solution
Which of the following statements is/are true regarding functions in C?
Solution
Which of the following functions computes and returns the factorial of a given positive integer num?
Solution
In C, which of the following are valid operations on pointer variables? (Select all that apply)
Solution
Solution
Solution
Solution
Which of the following storage classes initialize a variable with the value 0, if not initialized explicitly?
Solution
Solution
Solution
Shape
Thickness [ / ]
3
All colors