What is the difference betwee i++ and i + 1
What is the difference betwee i++ and i + 1

    int i = 0;
    int x = i++; // i = 1
    int x = i + 1 // i = 1, i.e. hasn't been incremented
What is the difference betwee i++ and i + 1
===

What is the difference betwee i++ and i + 1

    int i = 0;
    int x = i++; // i = 1
    int x = i + 1 // i = 1, i.e. hasn't been incremented