Vidyalelo
C Programming · Q25

Pointer

Programming · C Programming · question 25

Q25

What is the result of the expression ptr += 2 in C, where ptr is a pointer?

A.
Increase ptr by 2
B.
Decrease ptr by 2
C.
Move ptr two memory locations forward
Answer
D.
It's not a valid operation

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board