a

Run C Program in Command Prompt

0:00
Toggle fullscreen Fullscreen button

Timecodes:

hello guys so in this video I want to

show you guys how to run AC program in

the command prompt also known as the

command line so here I have my C program

the source code and I'm calling it hello

world C and I save this program on my

desktop here so what we're going to do

is we first need to open up the command

prompt and then we need to change our

directory to where our source code is so

right now I have this on the desktop so

I'm going to change the directory to the

desktop and now what we're going to do

is we're going to run this command call

it GCC the C compiler space and then the

name of the file which is hello world

dot C and then what's going to happen is

it's going to create is going to compile

the source code and create an executable

file onto the desktop now remember we

have not given the name of the


Related queries:


how to c program run in cmd
how does a c program run
how to run a c program in terminal
how to run a c program in visual studio code
how to run a c program in terminal linux
how to run a c program in ubuntu
how to run a c program in terminal mac
how to run a c program in notepad++
how to run a c program in code blocks