XOR Strings 3

  • + 0 comments

    its broken in c too,

    res_arr[i ] = (compare[0][i] - '0') ^ (compare[1][i] - '0') + '0'