Compiling and Running C Program on Solaris

Hello Guys,

I am using Solaris Developer Express Edition 9/07, I am a beginner. Please tell me how to compile and execute a C program. Please give me your answers clearly, for the compilers cc,c89,c99. please....... reply to me.

I not getting the answer anywhere..

Advance thanks.........

For cc

#cc -c myfile.c

whre myfile.c is your source code

The C users guide is available at Sun Studio 12: C User's Guide