#include "stdafx.h"
#include <string.h>
int main (void)
{
int i = 0;
int s = 0;
for (i = 1; i <= 10; i++)
{
if (i == 6){
continue;
}
s += i;
}
printf("i = %d\n",i);
printf("s = %d\n",s);
return 0;
}
不好意思,能在帮我看看这个嘛,刚开的课程感觉好难,看不懂
#include "stdio.h"
#include <string.h>
int main (void)
{
unsigned int a=6;
int b = -20;
(a+b>6)? printf("a+b>6\n") : printf("a+b<=6\n");
return 0;
}
输出结果是什么?为什么?