1. Engineering
  2. Computer Science
  3. run any c program you wish and use pmap to...

Question: run any c program you wish and use pmap to...

Question details

Run any C program you wish and use “pmap” to see the virtual memory addresses while it is running. Include the “pmap” output in your report. Then run the same program again and report the addresses again, using “pmap”. Compare the addresses for the two instances as follows:
a. Which memory segments have the same starting addresses?
b. Which memory segments have different starting addresses?
c. Which memory segments have the same sizes?

The program I plan to run

int maino printf(Running for loop...In) int i, j, k, N= 2000; for (i=0; i<N; i++) { for (j = 0; j < N; j++) { for (k= 0; k < N; k++) {

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution