The cursor cannot return to the position of the starting function

I entered the code block from the first ‘printf’, but when I held down ‘alt’ and the ‘←’ to jump out, the mouse cursor returned to the third printf,like this.
theia