Discussion :: Pointers
-
Are the expression *ptr++ and ++*ptr are same?
Answer : Option B
Explanation :
*ptr++ increments the pointer and not the value, whereas the ++*ptr increments the value being pointed by ptr
Be The First To Comment