I know the basics of the Stack, and the Heap, but are there any other areas in a PC's memory that a program can access and store temporary data?
1 Answer
Usually, you allocate small-sized temporary variables on the stack. You request memory from the heap for larger chunks. But you can also map a file into memory.
Below is a representation of system memory by kind.
Source: this very-well explained article: Understanding Memory that should answer most of your questions.

1 Comment
Jean
From what I know of windows systems: Windows® does not have a swap, but it has a similar system (the infamous pagefile.sys). Also, there are APIs to map a file to memory (see:Managing Memory-Mapped Files). So, I would say YES, things are similar on windows system. But don't take my word for it.