how to compile and run/execute for a C program

Paramesh Reddy Kasim Reddy <[email protected]> Wed, 4 Sep 2002 17:37:46 +0200
Newsgroups gmane.comp.gnu.textutils.bugs
Organization Dalarna University
Message-ID <[email protected]>
HI..

how to compile and run/execute for a C program in linux operating system..
i have typed prog in Advanced Vi text editor save the prog as add.c
then i ahve gonr to console(?) and typed cc.add.c..
no error
AFTERWARDS HOW TO EXECUTE THE PROGRAM TO GET OUTPUT??

regards
KPREDDY