Best way to compare two int arrays of the same length?

前端 未结 4 921
日久生厌
日久生厌 2020-12-09 19:45

what is the best way to compare int arrays b and c with a:

int a[] = {0,1,0,0,1};
int b[] = {0,1,0,0,1};
int c[] = {1,1,0,0,1};

b and c are

4条回答
提交回复
热议问题