Visual Studio Code
To run C code, we first need to compile it.
A compiler is another program that turns our code into something the computer can run.
For C code, we can use a program called gcc
GCC
gcc <SOURCE> -o <OUTPUT>
For example, if we want to compile our source code called program.c
…
gcc program.c -o myprogram
We can then run our program
./myprogram
gcc
compiler