C is a powerful, portable, flexible and elegantly
structured general-purpose programming language initially developed by Dennis
Ritchie between 1969 and 1973. C is suitable for both systems and applications
programming, since it combines the features of high-level language with the
elements of the assembler. It allows the software developers to develop
programs without worrying about the hardware platforms where they will be
implemented. It was standardized by American
National Standard Institute (ANSI)
in 1983 and it was then approved by International
Standards Organization (ISO)
in 1990.
Nowadays, there are a number of programming languages, then why should one opt for C? This is one of the major question that might arise in one's mind while dealing with C and the main reasons are :
- Ability to combine both assembly language and high-level language : The C compiler combines the capabilities of an assembly language with the features of a high-level language and there by make it suitable for writing both system software and business packages.
- Efficiency and Fastness : Due to its variety of datatypes and powerful operators, the programs written in C are eficient and fast.
- High Portability : The C programs written for one computer can be run on another with little or no modification.
- Structured Programming : The structured way of programming makes the user to think of a problem in terms of function modules or blocks.
- Ability to extend itself : We can continuously add our own functions to C library.
C Programs
- Merge Sorting
- Evaluate Sine, Cosine & Exponential series
- Generate Prime numbers up to a limit
- Generate Fibonacci series up to a limit
- Generate Armstrong numbers up to limit
- Generate Floyd's Triangle
- Evaluate Quadratic equation
Data Structured Programs
- Queue implementation using Linked List
- Stack implementation using Linked List
- Doubly Linked List
- Circular Linked List
- Operations in a Linked List
- Deque implementation using Array
- Circular Queue implementation using Array
System Software Programs
- Lexical Analyser Implementation
- Identification of keyword or valid identifier
- Syntactic Analysis of C declaration statement