DOWNLOAD AND INSTALL C/GCC COMPILER FOR WINDOWS

Compilers are used to convert the source code into machine-readable code so that the computer can understand it. For every programming language, we have to set up a compiler.

In C language, there are two ways to set up a compiler. The first one is installing the C/GCC compiler manually, and the second is installing Code::Blocks or any IDE(Integrated Development Environment) and within that, including the GCC compiler during installation.

After installing the compiler, we need to set its path to environment path variables because it allows the C program to compile from any directory on your computer.