I am new to Ubuntu. I want to run c program on Ubuntu. I have installed build-essential. Now I tried following commands to run the program..
sudo gedit first.c
then typed the basic hello world program. then...
cc -c first.c -o first.c
But on this command it is showing error as
No input files.
and also tell me how to run this program.
The correct usage is:
Then you can run the executable: