Introduction of C
C is a general-purpose high level programming lanaguage developed by Dennis Ritchie in 1972 at Bell Telephone Laboratories (AT and T Bell Laboratories). C programming language developed for UNIX operating System. The UNIX operating System and its application are almost entirely written in c programming language. C programming language has now become a most widely used professional programming language for various reasons.
- Easy to Learn
- Structured Language
- It produced Efficient Programs
Facts About C
- C was invented to write a UNIX Operating System.
- 1973 UNIX OS almost completely written in C programming language.
- The language was formalized in 1988 by the American National Standard Institute (ANSI).
- C programming language is the successor of the B programming language. The B programming language introduced around in 1970.
Why Use C ?
C was initially used for system development work, in particular the programs that make-up the operating system. C was adopted as a system development language because it produces code that runs nealy as fast as code written in assembly language. Some Example of the use of C :
- Operating System
- Networks Drivers
- Text Editors
- Language Compiler
Application of C
Operating System : UNIX OS is completely written in c programming language, And Linux OS Kernel is written in c programming language.
Mobile Operating System : The Kernel of the world's most popular mobile operating system android is also having a part of wriiten in c programming language.
Databases : The world's most popular databases, including Oracle Database, MySQL, etc. are written in c along with c++ programming language.
Features and Advantages of C Programming Language
General-Purpose Programming Language : C is a general purpose programming language which can be used to develp various applications of different domain.
Portable Language : C is a portable programming language. That means c programs written for a computing environment can easily run on another computer having the same environment.
Block-Structured Language : C is a structured programming language that allows a complicated program to be broken into manageable subprograms called functions. It also allows free movement of data across these functions.
Mid-Level Language : C is a middle-level programming language as it has features of both high-level and low-level programming language.
Reliable : It is more reliable as compared to its evolving languages.
Extensible : One of the essential aspects of c is its ability to extend itself. We can define and add out functions to C Library.
Typed Language : C introduce the concept of data types and contains a powerful data definition. The data type supported are characters, alphanumeric, intergers, long interger, float, double. It also supports string manipulation in the form of character-array.
Hardware Interaction : C can directly interact with the hardware; as a result, the execution of the program is faster.
Graphical Application : C also supports robust graphics programming.
Drawbacks of C Programming Language
- C does not support the concept of OOPs as it is a POP programming Language.
- C does not support runtime Checking.
- C does not have the concept of the namespace.
- C is not a strictly typed language, i.e., we can pass an integer value to a floating-type variable of Vice-Versa.
- C dose not provide any data security.
What s operator in c programming language. How many types of Operators. What is conversion in c programming language. Precedence and Associativity of operators.
Welcome Guys.. What is loop and how many types of loops in c programming language. How loops work in c programming language.