Wednesday, 25 March 2015

2.2 C Language Applications

C Language Applications



Application Of C Programming

C Programming is best known programming language. C Programming is near to machine as well as human so it is called as Middle level Programming Language. C Programming can be used to do verity of tasks such as networking related,OS related.

Application of C Programming are listed below -


  1. C language is used for creating computer applications.
  2. Used in writing Embedded softwares.
  3. Firmware for various electronics, industrial and communications products which use micro-controllers.
  4. It is also used in developing verification software, test code, simulators etc. for various applications and hardware products.
  5. For Creating Compiles of different Languages which can take input from other language and convert it into lower level machine dependent language.
  6. C is used to implement different Operating System Operations.
  7. UNIX kernel is completely developed in C Languag.




List of Applications of C Programming


List of Application

Operating Systems Network Drivers Print Spoolers
Language Compilers Assemblers Text Editors
Modern Programs Data Bases Language Interpreters
Simulators Utilities Embedded System

Wednesday, 18 March 2015

2.1 C Language Features

C Language Features

C Programming is widely used in Computer Technology, We can say that C is inspiration for development of other languages. We can use C for different purposes. Below are some of the Features of C Programming –

Features of C Programming Language :

1 . Low Level Features
2 . Portability
3 . Powerful
4 . Bit Manipulation
5 . High Level Features
6 . Modular Programming
7 . Efficient Use of Pointers
8 . More Efficient



Features of C Programming Language :

Low Level Language Support
Program Portability
Powerful and Feature Rich
Bit Manipulation
High Level Features
Modular Programming
Efficient Use of Pointers



1 . Low Level Features :

  A. C Programming provides low level features that are generally provided by the Lower level languages. C is Closely Related to Lower level Language such as “Assembly Language“.
  B. It is easier to write assembly language codes in C programming.

2 . Portability :

  A. C Programs are portable i.e they can be run on any Compiler with Little or no Modification
  B. Compiler and Preprocessor make it Possible for C Program to run it on Different PC

3 . Powerful

  A. Provides Wide verity of ‘Data Types‘
  B. Provides Wide verity of ‘Functions’
  C. Provides useful Control & Loop Control Statements

4 . Bit Manipulation

  A. C Programs can be manipulated using bits. We can perform different operations at bit level. We can manage memry representation at bit level.
  B. It provides wide verity of bit manipulation Operators. We have bitwise operators to manage Data at bit level.

5 . High Level Features :

  A. It is more User friendly as compare to Previous languages. Previous languages such as BCPL,Pascal and other programming languages never provide such great features to manage data.
  B. Previous languages have there pros and cons but C Programming collected all useful features of previous languages thus C become more effective language.

6 . Modular Programming

  A. Modular programming is a software design technique that increases the extent to which software is composed of separate parts, called modules
  B. C Program Consist of Different Modules that are integrated together to form complete program

7 . Efficient Use of Pointers

  A. Pointers has direct access to memory.
  B. C Supports efficient use of pointer .

8 . More Efficient

Tuesday, 17 March 2015

1.3 Father of C

Father of C

Dennis Ritche : Father of C Programing Language

Father of C Programming : Dennis Ritchie

Born On September 9 1941
Born in Bronxville – New York
Full Name Dennis MacAlistair Ritchie
Nickname DMR
Nationality American
Graduate From Harvard University
Graduate In Physics and Applied Mathematics
Webpage http://cm.bell-labs.com/who/dmr/
Dead On October 12 2011
ALGOL 1960


Dennis Ritchie : Known for

No What ?
1 Creator of C Programming
2 Creator of UNIX operating System
3 Co-author of “The C Programming Language”


1.2 C history chart

C history chart


Milestones In C Programming History :

A new language B a second attempt 1970.
A totally new language C a successor to B 1971
By 1973 UNIX OS almost totally written in C.

Tuesday, 10 March 2015

1.1 C Language History

History of C Programming Language

C is a programming language which born at “AT & T’s Bell Laboratory” of USA in 1972.
C was written by Dennis Ritchie, thats why he is also called as father of c programming language.
C language was created for a specific purpose i.e designing the UNIX operating system (which is currently base of many UNIX based OS).
From the beginning, C was intended to be useful to allow busy programmers to get things done because C is such a powerful, dominant and supple language
Its use quickly spread beyond Bell Labs in the late 70’s because of its long list of strong features


Why Name “C” was given to Language ?
Many of C’s principles and ideas were derived from the earlier language B. (Ken Thompson was the developer of B Language.)
BCPL and CPL are the earlier ancestors of B Language
CPL is common Programming Language.In 1967, BCPL Language ( Basic CPL ) was created as a scaled down version of CPL
As many of the features were derived from “B” Language thats why it was named as “C”.
After 7-8 years C++ came into existence which was first example of object oriented programming .
Summary of C Programming Language History

Summary –

1 B Language Developed By Ken Thompson
2 Operating System Developed in C UNIX
3 Developed at AT & T Bell Laboratory
4 Creator of Traditional C Dennis Ritchie
5 Year 1972


C Programming Language Timeline :
Programming Language Development Year Developed by
ALGOL 1960 International Group
BCPL 1967 Martin Richards
B 1970 Ken Thompson
Traditional C 1972 Dennis Ritchie
K&R C 1978 Brain Kernighan and Dennis Ritchie
ANSI C 1989 ANSI Committee
ANSI/ISO C 1990 ISO Committee

Tuesday, 3 March 2015

First Program Of C

Sample Of C


/* my first program in C */
#include <stdio.h>

int main()
{
  printf("Hello world\n");
  return 0;
}