以下程序的功能是进行位运算:include main( )unsigned char a,b;a =7∧3; b = ~43 以下程序的功能是进行位运算:#include <stdio.h>main( ) unsigned char a,b; a =7∧3; b = ~43; printf("% d %d \n" ,a,b);}程序运行后的输出结果是( )。A.4 3B.7 3C.7 0D.4 0

以下程序的功能是进行位运算:include main( )unsigned char a,b;a =7∧3; b = ~4&3

以下程序的功能是进行位运算:#include <stdio.h>main( ) unsigned char a,b; a =7∧3; b = ~4&3; printf("% d %d \n" ,a,b);}程序运行后的输出结果是( )。

A.4 3

B.7 3

C.7 0

D.4 0


相关考题:

有以下程序:includevoid fun(char**p){++P;printf("%s\n",*p);}main()char*a[]={"Morn 有以下程序: #include<stdio.h> void fun(char**p) { ++P;printf("%s\n",*p);} main() char*a[]={"Morning","Afternoon","Evening","Night"}; fun(A); } 程序的运行结果是( )。A.AfternoonB.fternoonC.MorningD.oring

以下程序的功能是进行位运算: main() {unsigned char a,b; a=7^3;b=~4&3; printf("%d%d\n",a,B); } 程序运行后的输出结果是( )。A.4 3B.7 3C.7 0D.4 0

有以下程序: 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() { unsigned chara,b; a=7^3;b= ~43; printf("%d %d\n",a,b); } 程序运行后的输出结果是 ______。A.4 3B.7 3C.7 0D.4 0

以下程序的输出结果是【 】。includeincludechar*fun(char*0{ char *p--t;retur 以下程序的输出结果是【 】。include <stdio.h>include <string.h>char *fun(char *0{ char *p--t;return (p+strlen(t)/2);}main(){ char *str="abcdefgh";str=ftm(str);puts(str);}

以下程序(程序左边的数字为附加的行号)______。1include2include3main()4{char 以下程序(程序左边的数字为附加的行号)______。 1#include<str.h> 2#include<stdio.h> 3main() 4{ chars[]="string"; 5puts(s); 6strcpy(s,"hello"); 7printf("%3S\n",s);}A.没有错B.第1行有错C.第6行有错D.第7行有错

有以下程序: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

以下程序的输出结果是【 】。includeincludechar*fun(char*t){ char *p=t;retur 以下程序的输出结果是【 】。include <stdio.h>include <string.h>char *fun(char *t){ char *p=t;return (p+strlen(t)/2);}main(){ char *str="abcdefgh";str=ftm(str);puts(str);}

在以下程序段的空白处填入(),能够正确输出teacher。 #include<stdio.h> main() {char *p[3]={"student","teacher","classroom"}; printf("%s", ); }A.*(p+1)B.*p+1C.*p[1]D.*p+7