69,371
社区成员
发帖
与我相关
我的任务
分享
#include <stdio.h>
#define NUM 5
int main(void)
{
int array[NUM] = {0, 1, 2, 3, 4};
int i = 0;
for (; i < NUM; i++)
printf("%d\t%d\n",array[0]+i,array[0]+1);
return 0;
}
0 1
1 1
2 1
3 1
4 1