Book says this executes 6 times, but I've spent 30 minutes stepping over it in debugger again and again and it only executes 5 times?

前端 未结 0 2013
闹比i
闹比i 2021-02-02 01:25

Here\'s the code (yes I\'m at total noobie level)

int j = 2;

for (int i = 1; i < 100; i = i * 2)
{
    j = j - 1;
    w         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题