Posts by Wesley da Rocha • 1 point
1 post
-
-1
votes1
answer164
viewsQ: Pass vector as argument to a function
I’m trying to pass a vector to a C function, but I don’t know what I’m doing wrong. Since the code is small, I’ll post in full: #include <stdio.h> int calcula(double A){ if(A<=10.0){…