作业 1.若运行时输入字符“Q”,则程序运行结果为 main o char ch: scanf(“%f”,&ch) ch=(ch>‘A’&&ch<=‘Z’)?(ch+32):ch; ch=(ch>‘a’&&ch<=‘z’)?(ch-32):ch; printf(“%c”,ch) 2. maino I int x=10, y=9 int ab, c printf(“%d,%d,%d”,a,b,c) 3.设有intx=1,y=0;则以下表达式的值为 x->(y++)?10:12.5y+?作业: 1.若运行时输入字符“Q”,则程序运行结果为 main() { char ch; scanf(“%f ”,&ch); ch=(ch>‘A’&&ch<=‘Z’)?(ch+32):ch; ch=(ch>‘a’&&ch<=‘z’)? (ch-32):ch; printf(“%c”,ch); } 2.main() { int x=10,y=9; int a,b,c; a=(x--= =y++)?x--:y++; b=x++; c=y; printf(“%d,%d,%d”,a,b,c); } a= b= c= 3.设有 int x=1,y=0;则以下表达式的值为 x-->(y++)?10:12.5>y++?‘A’:‘Z’