go to previous page   go to home page   go to next page highlighting

Answer:

empB = empA;

The address contained in empA is copied to empB.


Copying addresses

The statement

empB = empA;

is the equivalent of

move   $s2,$s1

This copies the address in one pointer variable to another. The structs in memory are unaffected.


QUESTION 18:

Do C programs call subroutines?


go to previous page   go to home page   go to next page