Question 5
It incremented the value pointed by ptr by 2.
It adds 1 to the value pointed to by ptr.
It modifies the address of ptr.
It does not modify the value pointed to by ptr.
It incremented the value pointed by ptr by 2.
It adds 1 to the value pointed to by ptr.
It modifies the address of ptr.
It does not modify the value pointed to by ptr.
Correct answer
It adds 1 to the value pointed to by ptr.
Question 5 of 26 in the IIT Madras BS Programming in C (Programming in C) End Term paper sat on 24 Dec 2023, in the September 2023 term (IIT M ES FOUNDATION FN EXAM FEF2 24 Dec 2023). It carries 4 marks.