int x=12,y=8; printf("%d\t%d\t%d\n",x,x&y,x|y);

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 02:26:36

int x=12,y=8; printf("%d\t%d\t%d\n",x,x&y,x|y);
int x=12,y=8; printf("%d\t%d\t%d\n",x,x&y,x|y);

int x=12,y=8; printf("%d\t%d\t%d\n",x,x&y,x|y);
0 1 1
!X应该是非X
X&Y应该是X与Y
X|y应该是X或Y
、t是制表符 肯定
、n是换行 肯定
以有多年未接触C语言,以上均为猜测

int x=12,y=8; printf(%d %d %d ,x,x&y,x|y); #include int main() { int max; int x,y,z; if x>y printf(max=x); else printf(max);if max #include main() { int x=3,y; do { y=x--; if(!y) {printf(*);continue;} printf(#); }whi下面程序段____________#include main(){int x=3,y;do{y=x--;if(!y){printf(*);continue;}printf(#);}while(1 C语言 答案为什么是8 4 #includevoid f(int y,int *x){y=y+*x;*x=*x+y;}main(){int x=2,y=4;f(y,&x);printf(%d %d ,x,y);} int x,y; x=13; y=5; {printf(%d,x%=(y/=2)); int x=3,y=4; printf(%d,%d,(x.y),(y,x)); int x=5; int y=2+(x+=x++,x+8,++x); printf(%d,y); 求程序的结果并解释. int x=5; int y=2+(x+=x++,x+8,++x); printf(%d,y); 结果是多少,为什么?请大侠们解释清楚点, Void main (){ int i ,x ,y ;Scamf (“%d”,&x );If ( _____) y=x+12;Else (______) ;Printf (“%d ”, int x=20;printf(“%d”,0 int x=20;printf(“%d”,0 int x=17,y=26; printf (%d,y/=(x%=6));解释一下 main() { int x=2002,y=2003; printf(%d ,(x,y)); } 为什么结果是2003? main() { int x=2002,y=2003; printf(%d ,(x,y)); } void fun(int *x,int y){printf(%d%d,*x,*y);*x=3;*y=4;}main(){int x=1,y=2;fun(&y,&x);printf(%d%d,x,y);} void fun(int x,int y) {x=x+y;y=x-y;x=x-y; printf(%d,%d,,x,y); } main() {int x=2,y=3; fun(x,y); privoid fun(int x,int y){x=x+y;y=x-y;x=x-y;printf(%d,%d,,x,y);}main(){int x=2,y=3;fun(x,y);printf(%d,%d ,x,y);} # include void p(int *x,int y){ ++*x; y=y+2; } void main() { int x=2,y=3; p(&y,y); printf(# includevoid p(int *x,int y){++*x;y=y+2;}void main(){int x=2,y=3;p(&y,y);printf(%d#%d,x,y);} 谁来帮我找找错啊int max(int a,int b);void main(){int x,y,z;int max(int a,int b);printf(input two numbers: );scanf(%d%d,&x,&y);z=max(x,y);printf(maxmum=%d,z);}int max(int a,int b);{if(a>b) return a;else return b;}------------------Con