I suppose that you use SuSE distribution of GNU/Linux, especially the one named "SuSE Linux 10.1"? And that you have written a program and want to compile it. And that you did not try running
Then you should cd to directory with program and run
gcc -o program program.c
, which will produce executable file program, that can be run with command
Try reading info gcc also.
Nevertheless, it is pointless to name version of your distribution without naming vendor, and it is always better to ask exact questions.