Number to spellings

sir ,in the video sir is saying that doing
printspelling(n/10)
will not change the value of n in recursion;
but in next line he is writing
int digit = n%10;
so it should give 8 for n=2048; but it is giving 2 . Please explain .

hello @tejuschaturvedi0
u r getting 2 becuase of recursion.

first we made call for 2048 which will call -> 204 which will call -> 20 which will call -> 2 which will call 0.
0 is base case so control will return back to 2 and 2 will get printed and control returned to 20 so on.