阅读背景:

how could we know this is the last element in the array?

来源:互联网 

I have the following code:

我有以下代码:

int array[5] = {1, 0, 1, 0, 0};

int i;

for(i = 0; i < 5; i++)
{
   if(array[i] == 1)
   {
      printf("found one\n");
   }
}
int arra



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: