如何比较这两个字符数组以确保它们相同?
char test[10] = "idrinkcoke" char test2[10] = "idrinknote"
我正在考虑使用for loop,但我在其他地方读到了我无法test[i] == test2[i]用C 做的事情.
for loop
test[i] == test2[i]
如果有人能帮到我,我真的很感激.谢谢.
c
c ×1