我编写了以下代码:{
temp = a1; b1 = temp;
System.out.println("In numbers class value of a after swapping ="+a1 +class value of a before swapping ="+a + " and that o
stdio.h> int temp; a = b; printf("After swappingswapref(int *a, int *b) { temp2 = *a; *b=temp2;
printf("After swappingcall by reference) a = %d, b = %d\n",*a,*b