1. Get and install C compiler (I used gcc https://gcc.gnu.org/)
2. Create new folder "hw" somewhere
3. In "hw" folder with text editor create a file named hw.c with code
4. Save the file and from "hw" folder run command below from command line to get compiled program
5. In "hw" folder there is new a new file named "hw". It is the program. With command below from command line, start the program
6. "Hello World" will be printed on screen.
2. Create new folder "hw" somewhere
3. In "hw" folder with text editor create a file named hw.c with code
#include <stdio.h> main () { printf("Hello World\n"); }
4. Save the file and from "hw" folder run command below from command line to get compiled program
gcc hw.c -o hw
5. In "hw" folder there is new a new file named "hw". It is the program. With command below from command line, start the program
./hw
6. "Hello World" will be printed on screen.