It is bad coding because n is initialized with 5, then n is incremented to 6 and then n is equal to 6.
When n is incremented to 6 it is the same thing as saying n = n + 1; n++ is called a short hand...