How to Build / Compile and Run a C Program in Command Prompt ( cmd ) on Windows 10 @LearningLad
How to Build / Compile and Run a C Program in Command Prompt ( cmd ) on Windows 10  @LearningLad
Uploaded March 2019 | Updated September 2026, 1 week ago
in this video tutorial you will learn How to compile/ build and run a C language Program in command prompt on windows 10 operating System.

skip to start Writing code 04:57

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

Learn about
Toolset Toolchain Ide's
youtu.be/91vHV4waiwA

Installing Mingw
youtu.be/hAnTiNm7mUE

Installing CodeBlocks ide
youtu.be/c8iq3yg6RDM

Watch Video tutorials in HINDI at
youtube.com/user/LearningLadHindi

#CProgramming #LearningLad

Catch us on Social Media
facebook facebook.com/LearningLad
twitter twitter.com/LearningLadEdu
Google+ google.com/+LearningLad
How to Build / Compile and Run a C Program in Command Prompt ( cmd ) on Windows 10How to Install Code::Blocks IDE & MinGW on Windows for C/C++ ProgrammingContinue Statement in C Programming | Skip Current Iteration with Example
LearningLad |

How to Build / Compile and Run a C Program in Command Prompt ( cmd ) on Windows 10

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER