Topic: C Programming
Pointer p to an array of integers (of size 2 Bytes) is initialised to 200. What is the value of p+3?
- A. 206
- B. 203
- C. 212
- D. 204
Answer: A. 206
Explanation: Pointer arithmetic scales by the size of the data type it points to. Since the integer size is given as 2 Bytes, adding 3 to the pointer increases the address by $3 \times 2 = 6$ bytes. Therefore, $200 + 6 = 206$.