If you don't tell the compiler otherwise, it will create an executable called "a.out". You can compile and run with the following commands.
Code:
gcc program.c
./a.out
If you can I suggest you try to get your hands on a copy of "The C Programming Language" by Kernighan and Ritchie. This is covered in the first few pages.
Cheers,
Evo2.