How can I bitwise XOR two C char arrays?

后端 未结 2 1811
-上瘾入骨i
-上瘾入骨i 2021-01-04 11:36

I feel silly for not being able to figure this out, but I am lost. I am trying to XOR two C strings.

#include 
#include 
#incl         


        
2条回答
  •  借酒劲吻你
    2021-01-04 12:23

    Well "Plain" xor "Plain" == 00000, were 0 is the terminator char. C strings print up to the terminator, which means it prints nothing.

提交回复
热议问题