The code:
Output:Code:#include<stdio.h> int main() { int j ; while ( j <= 10 ) { printf ( "\n%d", j ) ; j = j + 1 ; } return 0; }
2
3
4
5
6
7
8
9
10
I am using Code Blocks and what I do not understand is that while in the program no particular value has been assigned to integer j, why does the output start with 2, as if the value of j is 2 in the beginning?
Thanks in advance.