Posts by Guilherme Dantas • 16 points
1 post
-
0
votes2
answers92
viewsA: Passing a vector to a function in C
Hello, so... you’re making some basic C mistakes. First, you must pass the vector without indexing it. So: show(vet); Also, in your loops, there yes you should index the vector. So:…