填空题:下列程序段的输出结果是:
下列程序段的输出结果是:
#define N 2
#define M N+1
#define NUM (M+1)*M/2
int i;
for(i = 1; i <= NUM; i++){
printf("%d",i); /* 没有空格 */
}
答案:
第1空:12345678 ||
#define N 2
#define M N+1
#define NUM (M+1)*M/2
int i;
for(i = 1; i <= NUM; i++){
printf("%d",i); /* 没有空格 */
}
答案:
第1空:12345678 ||