更多“19、已知在ASCII字符集中,数字0的序号为48,下面程序的输出结果为()。 #include <stdio.h> int main() { char x, y; x = '0', y = '9';…”相关的问题
第1题
19、数字字符0的ASCII值为48,若有以下程序 main() { char a='a',b='b'; printf("%c,",b++); printf("%d\n",b-a); } 程序运行后的输出结果是
点击查看答案
第2题
数字字符0的ASCII值为48,若有以下程序: int main(void) { char a='1',b='2'; printf("%c,",b++); printf("%dn",b-a); return 0; } 程序运行后的输出结果是()
点击查看答案
第3题
数字字符0的ASCII值为48,以下程序的输出结果是() #include <stdio.h> void main() { char a='1',b='2'; printf("%c,",b); printf("%dn",b-a); }
点击查看答案
第4题
数字字符0的ASCII值为48,则以下程序运行后的输出结果是()。 #include <stdio.h> int main() { char a='1',b='2'; printf("%c,",b++); printf("%dn",b-a); return 0; }
点击查看答案
第5题
【单选题】数字字符0的ASCII值为48,则以下程序运行后的输出结果是______。 #include <stdio.h> main() { chara='1',b='2'; printf("%c,",b++); printf("%dn",b-a); }
点击查看答案
第6题
【填空题】已知字符0的ASCII码为十六进制的30,下面程序的输出是___________。 main() { union {unsigned char c; unsignedint i[4]; } z; z.i[0]=0x39; z.i[1]=0x36; printf("%cn",z.c);}
点击查看答案
第7题
已知字符0的ASCII码为48,那么字符5的ASCII码表示是()
A.1110101
B.1010011
C.1000101
D.0110101
点击查看答案
第8题
已知字符0的ASCII码为十六进制的30,下面程序的输出是___________。 int main() { union { unsigned char c; unsigned int i[4]; } z; z.i[0]=0x39; z.i[1]=0x36; printf("%cn",z.c); return 0; }
点击查看答案
第9题
由于数字字符“0”的ASCII码值是48,因此要将字符“5”转换成数值5可以用“5”-48实现。
点击查看答案
第10题
【单选题】已知字符0的ASCII码为十六进制的30,下面程序的输出是___________。 main() { union {unsigned char c; unsignedint i[4]; } z; z.i[0]=0x39; z.i[1]=0x36; printf("%cn",z.c);}
点击查看答案