In this video tutorial you will learn How to compile/ build and run a c program in command prompt in windows operating System.

After installing C toolset ( mingw oin windows is used here ) we need to set the path environment variable.

After that we need to open the command prompt and use the command
gcc program.c
this will generate the executable from the program.

we can use a.out and run the program.

We can also give name for the executable generated by using
gcc -o program.exe program.c

#c #programming-c #cmd

How to Run a C Program in Command Prompt ( CMD ) on Windows 10
2.00 GEEK