判断题

下面的C++代码执行后将输出10行"OK"。( )

for (int i = 0; i < 5; i++)
  for(int j = 0; j < i; j++)
    printf("OK\n");


A.
正确
B.
错误

发表评论

登录 后再回复