#include void zeraVet(int vet[], int tam){ int i; for(i = 0; i < tam; i++) vet[i] = 0; } int main(){ int vetor[] = {1, 2, 3, 4, 5}; int i; zeraVet(vetor, 5); for(i = 0; i<5; i++) printf("%d, ", vetor[i]); }