Vidyalelo
C Programming · Q21

Pointer

Programming · C Programming · question 21

Q21

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

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