#include <stdio.h>
void swap(int*x,int*y)
{int a=*x;
*x=*y;
*y=a;
}
int main(void) {
int data1[5]={1,2,3,4,5};
int data2[5]={6,7,8,9,10};
int i;
for(i=0;i<5;i++)
{swap(&data1[i],&data2[i]);}
for(i=0;i<5;i++)
for(i=0;i<5;i++)
// your code goes here
return 0;
}
CiNpbmNsdWRlIDxzdGRpby5oPgoJdm9pZCBzd2FwKGludCp4LGludCp5KQoJe2ludCBhPSp4OwoJKng9Knk7CgkqeT1hOwoJCgkKCX0KCWludCBtYWluKHZvaWQpIHsKCQkKCQoJaW50IGRhdGExWzVdPXsxLDIsMyw0LDV9OwoJaW50IGRhdGEyWzVdPXs2LDcsOCw5LDEwfTsKCWludCBpOwoJCmZvcihpPTA7aTw1O2krKykKCXtzd2FwKCZkYXRhMVtpXSwmZGF0YTJbaV0pO30KCglmb3IoaT0wO2k8NTtpKyspCgl7CXByaW50ZigiJWQiICxkYXRhMVtpXSk7fQoJCglmb3IoaT0wO2k8NTtpKyspCgl7CXByaW50ZigiJWQiICxkYXRhMltpXSk7fQoJCgkKCgkKCS8vIHlvdXIgY29kZSBnb2VzIGhlcmUKCXJldHVybiAwOwp9