Quiz array question 6

we are calling f() after incrementing of x then why f() is returning 1 instead of 2.