Problem in the recursive case

here I couldnt understand the use of static with int i from the video. Kindly explain this again.