有以下程序: main { unsigned char a=2,b=4,c=5,d; d =a|b;d=c;printf("%d\n",d); } 程序运行后的输出结果是( )。A.3B.4C.5D.6

有以下程序: main { unsigned char a=2,b=4,c=5,d; d =a|b;d&=c;printf("%d\n",d); } 程序运行后的输出结果是( )。

A.3

B.4

C.5

D.6


相关考题:

有以下程序: main() { char *p[10]={"abc","aabdfg","dcdbe","abbd","cd"); printf("%d\n", strlen(p[4])); } 执行后输出结果是( )。A.2B.3C.4D.5

有以下程序: include point ( char * p) {p + = 3; }main( ) char b[4] = {'a','b','c 有以下程序: #include <stdio.h>point ( char * p) { p + = 3; }main( ) char b[4] = {'a','b','c','d'} , *p=b; point(p); printf( "% c \n" , * p);A.aB.bC.cD.d

有以下程序: main( ) { char * p[10]={"abc","aabdfg","dcdbe","abbcf',"cd"}; printf("%d\n",strlen(p[4])); } 执行后的输出结果是 ______。A.2B.3C.4D.5

有以下程序includemain(){char *p=“abcde、Ofghjik\0”;printf(“%d\n”,strlen(p));} 程 有以下程序 #include<string.h> main() { char *p=“abcde、Ofghjik\0”; printf(“%d\n”,strlen(p)); } 程序运行后的输出结果A.12B.15C.6D.5

有以下程序:includemain(){char *p="abcde\Ofghjik\0";printf("%d\n",strlen(p));}程 有以下程序: #include <string.h> main() {char *p="abcde\Ofghjik\0"; printf("%d\n",strlen(p)); } 程序运行后的输出结果是( )。A.12B.15C.6D.5

有以下程序 main( ) { char *p[10]={“abc”,”aabdfg”,”dcdbe”,”abbd”,”cd”}; printf(“%d\n”,strlen(p[4])); } 执行后输出结果是( )A.2B.3C.4D.5

有以下程序include.main(){char*p="abcde\ofghjik\0";printf("%d\n",strlen(p));} 程 有以下程序 #include.<string.h> main() { char *p="abcde\ofghjik\0"; printf("%d\n",strlen(p)); } 程序运行后的输出结果是A.12B.15C.6D.5

有以下程序: include main( ) { char *p="abcde\0ghjik\0"; printf("%d\n",str 有以下程序: #include<string.h> main( ) { char *p="abcde\0ghjik\0"; printf("%d\n",strlen(p) ); } 程序运行后的输出结果是A.12B.15C.6D.5

有以下程序:include include main(){char *p[10]={"abc","aabdfg","dcdbe" 有以下程序: #include <stdio.h> #include <string.h> main() { char *p[10]={"abc","aabdfg","dcdbe","abbd","cd"}; printf("%d\n",strlen(p[4])); } 执行后的输出结果是( )。A.2B.3C.4D.5

有以下程序 main() { char*p[10]={"abc",aabdfg","dedbe","abbd","cd"}; printf("%d\n",stxlen (p[4])); } 执行后输出结果是A.2B.3C.4D.5