Quiz Space

Programming in C · Quiz 1 · 7 Jul 2024 · May 2024 term

Programming in C Quiz 1 7 Jul 2024 — Question 4

Question 4

+3 marksOne correct option
  1. A

    Case 1: M[2] = 3, Case 2: M[2] = 2

  2. B

    Case 1: M[2] = -3, Case 2: M[2] = -2

  3. C

    Case 1: M[2] = -2, Case 2: M[2] = 3

  4. D

    Case 1: M[2] = 2, Case 2: M[2] = -3

Show answer

Correct answer

  • C

    Case 1: M[2] = -2, Case 2: M[2] = 3

Question 4 of 16 in the IIT Madras BS Programming in C (Programming in C) Quiz 1 paper sat on 7 Jul 2024, in the May 2024 term (IIT M DEGREE AN EXAM QDB2 7 July 2024). It carries 3 marks.

More questions from this paper

  1. Q1Select all the correct statements from the below.
  2. Q2Select all the valid variable names in C.
  3. Q3Figure question
  4. Q5Find the Hexadecimal representation of the word "FAX” in ASCII.\ Hint: A - 65(decimal), B - 66, … in ASCII.
  5. Q6Figure question
  6. Q7Figure question
  7. Q8Figure question
  8. Q9Convert the hexadecimal number 0xAC73 to its equivalent binary representation.
  9. Q10Find the minimum number of bits required to represent an instruction set where there are 8 unique instructions and each…
  10. Q11Figure question
  11. Q12Figure question
  12. Q13Figure question
  13. Q14Figure question
  14. Q15Figure question
  15. Q16Figure question