Vidyalelo
C Programming · Q9

Pointer

Programming · C Programming · question 9

Q9

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

A.
Increase the value of ptr by 1
B.
Decrease the value of ptr by 1
C.
Move ptr to the next memory location
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