Quiz Space

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

Question 15: Which of the following statements about pointers is/are …

Question 15

+4 marksOne or more correct options

Which of the following statements about pointers is/are true?

Select all that apply.

  1. A

    A pointer can be incremented to point to the next memory location of its type.

  2. B

    A pointer variable cannot be reassigned after initialization.

  3. C

    Dereferencing a pointer gives the value stored at the memory address it holds.

  4. D

    Dereferencing a pointer gives the memory address it holds.

Show answer

Correct answers

  • A

    A pointer can be incremented to point to the next memory location of its type.

  • C

    Dereferencing a pointer gives the value stored at the memory address it holds.

Question 15 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 4 marks.

This question was also asked in

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. Q12Figure question
  13. Q13Which of the following is not a valid storage class in C language?
  14. Q14Which of the following statements is/are true about the switch statement in C?
  15. Q16Figure question
  16. Q17Figure question
  17. Q18Figure question
  18. Q19Figure question
  19. Q20Figure question