Its's easy in Suse 11.3

By default gcc45 will come but gcc will disable we have to enable/install by following.

Steps:
1. Goto YaST Control Center → Software → Software Management
2. In search box type gcc then it will show packages
3. Select gcc then accept
4. Then gcc will be installed
Compiling c:

gcc filename.c

Executing

./a.out

Regards
J Janardhana Rao