Home / C Programming / Pointers :: Discussion

Discussion :: Pointers

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

  2. A.
    True
    B.
    False

    View Answer

    Workspace

    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