How to Run C Program in Command Prompt

Published: 17 January 2024
on channel: target up e Study
119
3

How to Run C Program in Command Prompt
1)Install MinGW, a simple C compiler.
2)Use the cd command to go to the directory where your C program is saved.
3)Run the gcc command to compile your C program. The syntax you'll use is gcc filename.c -o filename. This compiles the program and makes it executable.
4) Type the name of your program and press ↵ Enter


On this page of the site you can watch the video online How to Run C Program in Command Prompt with a duration of hours minute second in good quality, which was uploaded by the user target up e Study 17 January 2024, share the link with friends and acquaintances, this video has already been watched 119 times on youtube and it was liked by 3 viewers. Enjoy your viewing!