Prashant | Sun, 07 Jun, 2020 | 176
C was initially used for system development work, particularly the programs that make-up the operating system. C was adopted as a system development language because it produces code that runs nearly as fast as the code written in assembly language. Some examples of the use of C are -
The first operating system was developed using high-level programming language in UNIX, which was previously designed in C programming language only. Later on many OS were scripted in C by Android and Microsoft Windows.
Compiler design is one of the most popular use of C language, as C language was thew creation of compilers. Compilers of several other programming languages were designed using C language.
Similar to compilers Assemblers were also designed in C for assemble language, It was prefered to design assembler only in C language. As it is Low level language. which makes it easier and comprehensible by the machine.
The C programming language is considered an optimum choice when it comes to scripting applications and drivers of embedded systems, as it is closely related to machine hardware.
Google file system and Google chromium browser were developed using C/C++. Not only this, the Google Open Source community has a large number of projects being handled using C/C++.
MySQL, again being an open-source project, used in Database Management Systems was written in C/C++.
Since the C programming language is relatively faster than Java or Python, as it is compiler-based, it finds several applications in the gaming sector. Some of the most simple games are coded in C such as Tic-Tac-Toe, The Dino game, The Snake game and many more. Increasing advanced versions of graphics and functions, Doom3 a first-person horror shooter game was designed by id Software for Microsoft Windows using C in 2004.
8. Tokens In C
11. Variables In C
15. Constant In C