0 votes 0 votes #include <stdio.h> int main() { int i = 3; while (i--) { int i = 100; i--; printf("%d ", i); } return 0; } Programming in C programming-in-c + – sayakpaul asked Dec 23, 2018 sayakpaul 2.7k views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply register_user_19 commented Dec 23, 2018 reply Follow Share 99 99 99 2 votes 2 votes Abhisek Tiwari 4 commented Dec 24, 2018 reply Follow Share at first i=3 so loop will run only 3 time and i inside is while loop is local w.r..t loop so first time i=3 1.while(i--) i=2 loc i=100 i--//loc i=99 print(99) loc i destroyed again 1 => i-- => i=2-1=1 same thing again repeat so 99 99 99 will be output. 1 votes 1 votes Please log in or register to add a comment.