Quiz Space

Programming in C · End Term · 13 Apr 2025 · January 2025 term · Set 1-2

Programming in C End Term 13 Apr 2025 — Question 12

Question 12

+3 marksOne correct option
  1. A

    {5, 5, 5, 5, 5}

  2. B

    {5, 0, 0, 0, 0}

  3. C

    {5, (garbage), (garbage), (garbage), (garbage)}

  4. D

    {(garbage), (garbage), (garbage), (garbage), 5}

Show answer

Correct answer

  • B

    {5, 0, 0, 0, 0}

Question 12 of 20 in the IIT Madras BS Programming in C (Programming in C) End Term paper sat on 13 Apr 2025, in the January 2025 term (IIT M ES REATTEMPT AN EXAM QEQ1 13 Apr). It carries 3 marks.

More questions from this paper

  1. Q1Figure question
  2. Q2Which of the following is true about recursion?
  3. Q3A 32-bit integer 0x12345678 is stored in memory starting at address 0x3000 on a little-endian system. Which of the foll…
  4. Q4Which of the following statements correctly declares a pointer variable ptr to hold the address of a character variable…
  5. Q5In C programming, which memory region is typically used for dynamic memory allocation?
  6. Q6What does the #define directive do in C preprocessor?
  7. Q7Figure question
  8. Q8Figure question
  9. Q9Figure question
  10. Q10Figure question
  11. Q11Figure question
  12. Q13Which of the following is not a valid storage class in C language?
  13. Q14Which of the following statements is/are true about the switch statement in C?
  14. Q15Which of the following statements about pointers is/are true?
  15. Q16Figure question
  16. Q17Figure question
  17. Q18Figure question
  18. Q19Figure question
  19. Q20Figure question