Teaching UGC NET Mock Test Series 2025 (Paper 1 & 2) Programming and Data Structure Programming in C
What is the output of the following program?
#include
int main()
{ int i=3;
while (i--)
{ int i=10;
i--;
printf("%d", i);
}
printf("%d", i);
}
1
990
2
9990
3
999 - 1
4
99 - 1