To write a program you need an editor and compiler. The editor will provide a platform where you can write your program and compiler will compile this program and generate executable.An editor with a built-in compiler is known as IDE(Integrated Development Environment).
There are so many Integrated Development Environment(editor+Compiler) available for C programming according to your system.
I will recommend Code Block for windows user.
click on the link for code-block software and download the highlighted link as shown in the image.
Go to File -> new and select project.
Select category of Application Console
Select programming language.
Give project name (ex- hello world) and browse for project directory (your project folder where binary and *.exe will generate after compilation).
Write your program in main.c file.
Build your program with ctrl+f9 and Run with the ctrl+f10 key.
Note: If you are getting some error related to missing compiler in its path then just Go to setting ->Toolchain executable -> click on Autodetect