You are on page 1of 11

Meaning of C:-

• C is a general purpose structured programming


language.
• C language consist of set instruction which
would be used to develop system programs.
• Now-a-days, C has become a common
programming language for every application
developer.
History Of C:-
• It was developed at Bell Telephone Laboratory, USA

• The principle author of C is Dennis Ritchie

• Derived from two languages


BCPL
B-Language
• In 1967, BCPL was developed

• In 1970, Ken Thompson, developed B language

• Finally In 1972, Brain Kernighan and Dennis Ritchie


jointly gave definitive description for C.

• In 1978 a detailed description of the C Language


Characteristics of C:-
• General purpose programming language

• It is structured programming language

• Helps in development of system software

• It has rich set of operators


• Portability: Any c program can be run on
different machines with little or no
modification.

• Supports a rich set of data types

• Very less number of reserved words


Application of C
• It is used to develop the system as well as
application software.
• System software:-
Operating system
Interpreters
Compilers
Assembler
• Application Software:-
Data base System
Graphics packages
Spread Sheets
Office Automation Tools
Word Processors
Basic Structure of C Program:-
Preprocessor statements
global declarations;
main()
{
declaration;
statements;
}
user defined function
A Simple C Program
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sum;
a=10;
b=20;
sum=a+b;
printf(“Sum fo two numbers=%d\n”,sum);
getch();
}
Output
sum of two numbers=30
Drawbacks of C:-
• No standard libraries for computer
.graphics and several other application
programming needs.
• Very limited support for object-oriented
programming.

You might also like