You are viewing a single comment's thread. Return to all comments →
its broken in c too,
res_arr[i ] = (compare[0][i] - '0') ^ (compare[1][i] - '0') + '0'
Seems like cookies are disabled on this browser, please enable them to open this website
XOR Strings 3
You are viewing a single comment's thread. Return to all comments →
its broken in c too,
res_arr[i ] = (compare[0][i] - '0') ^ (compare[1][i] - '0') + '0'