問答題寫出下列程序的輸出結(jié)果#includevoidswp(int*x,int*y){*x=*x^*y;*y=*x^*y;*x=*x^*y;}voidmain(){inta,b,i;for(i=0;i<4;i++){scanf("%d%d",&a,&b);swp(&a,&b);printf("%d,%d\n",a,b);}}運行時輸入:9–9↙84↙1–5↙23–1↙

您可能感興趣的試卷