Built in way to travel to previous file/location?

Just wondering if there was already a built in way to jump to the previously viewed buffer? So if I was on line 400 in file A.h and switched to B.cpp, I could jump right back to A.h at line 400 if I needed to. Also if there was a built in way to jump to immediate previous cursor location in a buffer so I can retrace my steps so to speak. I tried fiddling with some of the jump calls but couldn't get what I wanted so far.

Edited by Jason on Reason: Initial post