Sail E0 Webinar
Question

Are the expression *ptr++ and ++*ptr are same?


Options:
A .  True
B .  False
Answer: Option B

*ptr++ increments the pointer and not the value, whereas the ++*ptr increments

the value being pointed by ptr



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers