C programming debugging a function that takes a pointer to an int as parameter and updates the value it points to to 98