题目内容

写出下面程序的运行结果是()。#include main(){char c1='a',c2='b',c3='c',c4='\101',c5='\116';printf("a%cb%c\tabc\n",c1,c2,c3);printf("\t\b%c %c",c4,c5);}

查看答案
更多问题

下面程序,其输出结果是()。#include main(){ int a1, a2, a3 = 65;a1 = 97;a2 = 98;printf("a1=%c,a2=%c,a3=%c\n",a1,a2,a3);}

写出下面程序的运行结果是()。#include main(){ int x = 10, y = 20 ,m,n;m = x++;n = ++y;printf("x=%d,y=%d,m=%d,n=%d\n", x, y, m ,n);m=x--;n=--y;printf("x=%d,y=%d,m=%d,n=%d\n", x, y, m, n);}

假设 a=12,表达式a%=(5%2)中a的运算结果是。

下程序的输出结果是()。#include void main(){ char a = 0x95,b,c;b = (a&0xf)<<4;c = (a&0xf0)>>4;a = b|c;printf("%x\n",a);}

答案查题题库