Here, we describe how to install C compiler in Linux and Windows OS.
- Linux : In, Linux Operating System we don't need to install C compiler because in Linux OS the GNU Compiler Collection (GCC) is already install.
Note: GCC stands for GNU Compiler Collection, where GNU stands for GNU's Not Unix. It includes compilers for C, C++, Objective-C and a host of other languages. Homepage - GCC, the GNU Compiler Collection. It originally stood for GNU C Compiler, back when it only supported the C programming language.
how to compile and run C program in Linux? - Windows : There are many compilers available for c and c++. You need to download any one. Here, we are going to use Turbo C++. It will work for both C and C++. To install the Turbo C software, you need to follow following steps:
- Download Turbo C++.
- Create turboc directory inside c drive and extract the tc3.zip inside c:\turboc.
- Double click on install.exe file.
- Click on the tc application file located inside c:\TC\BIN to write the c program.