Recursive Fonksiynlar Nasıl Çalışır ve Örnek Kodlama

Sir, I already sent you a message. My question is the point I don't understand in the logic of this code: When I send the value f(10) in this recursive function, it will call itself until the value f(1) and when the value becomes 1, it will get stuck in the if block and stop calling itself. From here on, the code continues from where it left off and printfle prints the value 1 to the screen. Everything is fine until here, but after this point, since f(1) is called by f(2), when we go back, we have the value f(2) and there is no int value. How can the code print this to the screen? I would appreciate it if you could explain it.... Good evening.