Topic-loops-ones zeroes pattern( bitwise ,ternary operator)

sir why cant we use j<=n in for loop i.e
for(int j=1 ; j,=i ; j++)