gcc hw.c
In other unix systems, you may need to use cc instead of gcc.
gcc (GNU Compiler Collection) is a free (as speech) C compiler. It
is the official compiler in the open source world. There are
other commercial compilers, which can produce faster (or slower)
programs than gcc. I use gcc as my standard compiler because it
supports a wide range of Operating Systems and processors, and it
has pretty good performance in general. gcc is installed in most
unix and linux computers, it comes with XCode for Mac OS-X, and
Windows version can be installed via Cygwin.
./a.out
Did you get the expected output? (Some history and jokes about this program.)
gcc -o helloWorld hw.c