Question: how c program run in ubuntu?
Answer: Open up a terminal. Search for the terminal application in the Dash tool (located as the topmost item in the Launcher). ... 
Use a text editor to create the C source code. Type the command. ... 
Compile the program. ... 
Execute the program.