#include <stdio.h>
void xorStrings(char* left, char* right) {
int index = 0;
while (left[index] != 0 && right[index] != 0) {
left[index] ^= right[index]; // change operation here
index++;
}
}
int main() {
char a[] = "hello, world!";
char b[] = " ,foobar";
printf("Before:\n%s \n %s\n", a, b);
xorStrings(a, b);
printf("After:\n%s \n %s\n", a, b);
return 0;
}