Output:10 10 10 10 10Code:#include<stdio.h> int main() { int i; for (i = 0; i < 5; i++) { int i = 10; printf(" %d", i); i++; } return 0; }
Here after i++ (after printf) value of i should be 11 and it should break out of loop after printing only once?? Why is the output like this then?