C - Introduction
C is a procedural and general-purpose programming language created by Dennis Ritchie in 1972 at the Bell Telephone Laboratories. It was invented to write UNIX operating system. C is the most widely used computer language. The main features of C language include low-level access to memory, easy to learn and modular structure which makes code debugging, maintenance, and testing easier. Due to these features make C language suitable for system programmings like an operating system or compiler development. Some important features of C are given below:
Language Features:
- Simple Language - C is a simple language. It is very easy to understand and learn. It provides structured approach that means a problem can be solved by breaking it into parts.
- Mid-Level Language - C is a mid-level language and enables low-level language featuress like development of system applications such as kernel and drivers. It also supports the feature of high-level language. Hence C is a mid-level language.
- Machine Independent Language - C can be interpreted on various operating systems including UNIX-based systems, Linux, Mac OS and various versions of Windows.
- Case-Sensitive Language - C is a case sensitive language and treats the uppercase and lowercase characters in a different manner.
- Structured Programming Language - C is a structured programming language that means any C program can be achieved in parts using functions. This makes any C program easy to understand and modify.
- Rich Library Support - C provides lots of inbuilt functions which makes programming faster and easier. These functions can be accessed by including appropriate header file in the C program.
- Syntax Based language - C is a syntax based language. It follows programming protocols very strictly.
- Powerful & Fast Language - C is a fast language as it takes very less time in compilation and execution.
- Dynamic Memory Allocation - C supports the use of pointers which means a user can directly interact with memory and allocate memory dynamically.