• 2022-05-26
    以下程序的运行结果为( )void swap(int x[]){ int temp; temp = x[0]; x[0] = x[1]; x[1] = temp;}void main(){ int a[2]={3,5}; swap(a); printf("a[0]=%d\na[1]=%d\n",a[0],a[1]);}