Self-Learning Module

You'll need to sign into your MSOE account VidGrid to see the videos.

This module provides background information on the Call Stack which you will simulate in lab 4.

  • What is the program counter?
  • What is a stack frame?
  • How are arguments passed to a method stored on the call stack?
  • How are local variables stored on the call stack?
  • What happens to the call stack when a method returns?

Requirements

void first()
  int second(8, 13, 2)
  return 55
  int third()
  return 0
return