I was given a couple pieces of code that don't make any sense to me. I was hoping you could explain where my comprehension fails.
It seems like it should print outCode:int row = 0, col = 0; while(row++ < 10);{ printf("row = %d\n",row); }
row = 0
...
row = 10
But it prints out "row = 11". Why?
And this shouldn't run at all, because row is not less than col, but it does. Why?Code:int row = 0, col = 0; for(row = 0; row < col; row++); { printf("Row = %d\n",row); }