how to run c program from visual studio terminal
snippet in c

how to run c program from visual studio terminal

user1965

Fire up the terminal from VS code
Use the command "gcc filename.c" to compile the program
Use the command ".\a.exe" to run the program from the terminal

P.S. Remove "" before exceuting