Incorrect statement for increasing the value an integer pointer was pointing to