Question
Are the expression *ptr++ and ++*ptr are same?
Answer: Option B
Was this answer helpful ?
*ptr++ increments the pointer and not the value, whereas the ++*ptr increments
the value being pointed by ptr
Was this answer helpful ?
Submit Solution