+ 5
Need help with loops in c
this is my program #include <stdio.h> int main() { int i = 3; while (i--) { int i = 100; i--; printf("%d ", i); } return 0; } it outputs is 99 99 99 but,i thought it would loop infinitely.. why it ain't looping infinitely???
2 odpowiedzi
0
good