How To Run A C-Program In Command Prompt
Before we begin, if you enjoy my articles and content and would like more content on programming, stocks, machine learning, etc. , then please give this article a few claps, it definitely helps out and I truly appreciate it ! So let’s begin !
In this article I want to show you all how to run a C-Program in command prompt/ line on a Windows operating system! Be sure to install C-Programming compiler first (gcc). If this article is helpful to ya please leave some claps ! I would really appreciate it!
Step0: Install C-Program Compiler (gcc)
You will need a C compiler to do this already installed, I use GCC. https://gcc.gnu.org/. If you are on a Windows computer, you can run the command gcc -v to check if it’s already installed. If gcc is installed then it should display a host of information starting with the sentence “Using built-in specs”.
gcc -v