So guys I am having a bit of trouble understanding how memory is allocated on the stack. First let me show you the code I am going to talk about:
#include