Posts by Rômulo Borges • 60 points
3 posts
-
0
votes2
answers1230
viewsA: How do I return only the highest value within an array?
Its function shows results, is running, in for, up to 500, which is the declared value for TAM_MAX. So in the function call, pass the size of the vector, which in this case would be the num_animals…
-
0
votes1
answer1626
viewsQ: double free or corruption(out) - Dynamic Allocation in C
In the discipline of Data Structure in college, as an exercise, the implementation of an algorithm that manages the transposed matrix of a given dynamically allocated matrix was passed. I made the…
-
4
votes2
answers4695
viewsQ: How to change the value of a variable by function in Python?
How can I change the value of a variable through a function? Here’s an example of what I’d like to do: def func(t): t = 2 + 3 t = 7 func(t) print(t) The output of the print(t) function returns me…