#include <stdio.h>
int main(){
unsigned result;
int a,b;
printf("please input a:");
scanf("%d",&a);
printf("please input b:");
scanf("%d",&b);
printf("a=%d,b=%d",a,b);
result=a^b;
printf("\na^b=%u\n",result);
}
#include <stdio.h>
int main(){
unsigned result;
int a,b;
printf("please input a:");
scanf("%d",&a);
printf("please input b:");
scanf("%d",&b);
printf("a=%d,b=%d",a,b);
result=a^b;
printf("\na^b=%u\n",result);
}
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。