Is there any way to compare two arrays and calculate how many times they're not equal.

Like, you've

int vector[3] = { 1, 2, 3 };
int vector2[3] = { 1, 2, 6 };

and then you compare these two and report that they're not equal 1 time.