Posts by VICTOR HUGO • 5 points
2 posts
-
-5
votes1
answer111
viewsQ: Sum with vector and pointer in C
Goal: Sum 7 numbers typed by the user that will be stored in an array, the sum must be done with a pointer. Problem: The pointer generates an wrong result, if I take the asterisk from the pointer…
-
-2
votes1
answer245
viewsQ: 4x4 matrix in C language
Objective: To sum two 4x4 integer matrices with the prototype below, predefined by the exercise. Prototype to be used: void calc_soma(int* mat_A, int* mat_B, int* mat_C); The prototype was made as…