Why the result is the same even if the variable isnt static?
char next_char(void){ char letter=’a’; while(letter!=’z’){ letter=letter+1; char next_char(void); } printf(“%c”,letter); } When the variable letter is static , it has a specific location in the memory and its lifespan is the same with the programm so every time we initialize the variable letter it gets updated.But if its not static the lifespan of the varible […]