C++ Array, Pointer Pre and Post increment compared

Objectives :

  • myPtrPrePostIncrement1.cpp
    pre *++pointer, post = *ptr++;

Step: 1 Create a source file.

Step: 2 Edit and save Source file

Step: 3 Runtime Views: pre is step ahead , post is right after

Step: