This is my code
#include <iostream>
int main()
{
    int j = 1;
    for (int i=0, j=1; i<10; i++)
    {
        std::cout << j << std::endl;
        j++;
    }
    std::cout << j << std::endl;
    return 0;
}
This is my output:
2
3
4
5
6
7
8
9
10
11
1
I just want to know why the value of j does not change out
 
    