Posts by bozo • 13 points
1 post
-
1
votes1
answer1521
viewsQ: Comparison of vectors in C
I’m currently trying to establish a comparison of two vectors in C. My code structure is as follows:: int iguais(int *v1, int *v2, int tam) { int i, cont = 1; for(i=0; i<tam; i++) { while(*(v1 +…