Professional Documents
Culture Documents
Hands On Lap 2
Hands On Lap 2
Performance Evaluation
Evaluating arrays . . .
-Make a table with the size of the array and the execution times for both
traversals.
-Is the execution time similar when you the matrix is traversed by rows
than when it is traversed by columns?
Memory hierarchy
Dynamic memory
-Run the code, observe the result and try to deduce what is happening.
As I run the code I can observe that it ca provide the positions of these 10
and can access other memory illegally
The mem2.c file shows the pernicious effects of using memory that we
have not explicitly reserved
- Run the code, observe the result and try to deduce what is happening.
Almost the same as the other code but in less steps because it doesn´t
have search more memory because is not defined .