Posts by Douglas Almeida • 11 points
1 post
-
0
votes1
answer105
viewsQ: Joining of vectors in C
I have a doubt in this code because the function should print {1,2,3} but I printed {1,2,3,4,10,24,73} void uniao(int A[], int B[], int C[]){ int i; for(i = 0; i < TAMANHO ; i++){ if (A[i] == 1){…