Hi Eswari, Assuming your C source code is called Foo.c and you want the executable to be called Foo, you'd do this: gcc -o Foo Foo.c To run the program Foo, you'd do this from the directory it was compile/linked in: ./Foo HTH, --Eljay
Hi Eswari, Assuming your C source code is called Foo.c and you want the executable to be called Foo, you'd do this: gcc -o Foo Foo.c To run the program Foo, you'd do this from the directory it was compile/linked in: ./Foo HTH, --Eljay