#include <stdio.h>
int main(void) {
int first[5] = {1, 2, 3, 4, 5} , second[] = {99, 88, 77, 66, 55};
int size = sizeof(first)/sizeof(first[0]);
for (int i = 0; i < size; i++) {
first[i] = first[i] + second[i];
second[i] = first[i] - second[i];
first[i] = first[i] - second[i];
}
printf("First\n");
for (int i = 0; i < size; i ++) {
printf("%d ",first[i]);
}
printf("\nSecond\n");
for (int i = 0; i < size; i ++) {
printf("%d ",second[i]);
}
return 0;
}
/*
run:
First
99 88 77 66 55
Second
1 2 3 4 5
*/