Install X-Code
If you have a OS X - i.e. an Apple computer and want to try out compiling C programs then you will need to install X-Code on it.
How do you do that?
xcode-select --install
Should do the trick. If the tools are installed already it will throw up an error telling you the tools are installed already.