Write the LC-3 code that accomplishes the local object allocation on
line 36 in Figure 20.6
Consider the following code:
int main (void)
{
intVector.pushback(1);
intVector.pushback(2);
intVector.pushback(3);
}
a. Draw the memory layout of intVector when the code is finished.
b. Where in memory is intVector allocated?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here