Introduction of C:
C is programming language developed by “denies-Ritche “ at AT and T Laboratorys 1972 in unix operating system.
C-PROGRAMMING LANGUAGE
It is a high level procedure oriented structured programming language.when even a programming language supports modularity features then it is called procedure oriented language.
STRUCTURED PROGRAMMING- Top down approach with blocks format is called structured programming language.
ADVANTAGES OF ‘C’:-
1.PORTABILITY-
It is a concept of carrying the instruction form one system to another system.
'.C' file contain source code ,we can edit also.
'.Exe' file contain application,only we can execute.
When we are copying .exe file form one o.s to another o.s then it works properly then it is called platform independent it doesn't works then it is called platform dependent.
C programming language is a platform dependent machine independent i.e it depends on o.s only not an hardware component of the computer.
2.MODULARITY:-
It is a concept of designing an application in subprograms i.e procedure oriented approach.
3.MID-LEVEL:-
C programming language can supports low level programming instructions with the combination of high level language that’s why it is called middle level programming language.
4.SIMPLE:-
C programming language similar to English and limited concepts are available.
HISTORY OF ‘C’
The basic programming language term is started in the year of 1950’s with the language called FORTRAN. From fortra language they evaluated one mor programming language called ALGOL I.e an acronym for algorithmic language.
The beginning of C is started in the year 1968 to the language called BCPL which is evaluated called ’B ’ language by ‘ken thmpson’.In the year of 1972 ,DENNIS RITCHIE is evaluated ‘c ’programming language at AT and T Bell laboratories for developing system software.On the year of 1988 ,’ c ’programming language standardized by ANSI that version is called ANSI-C.In the year of 2000 ‘c ’programming language standardized by ‘ISO’that version is called c.gg
APPLICATIONS OF ‘C’
1.’C ’ programming language can be used to design the system software like O.S and compilers.
2.By using ‘c ’programming language we can develop application software like database and spread sheets.
3.Graphical related application i.e pc and mobile games.
4.To evaluate any kind of mathematical eqations.
CHARACTERISTICS OF ‘C’
1.KEYWORDS:
It is a reserved word,some meaning is already allocated to that word and meaning can be recognized by compiler.
In C programming language total no.of keywords are’32’.
Eg: if else,break,constant,case, switch……..
2.OPERATORS:
It is a special kind of symbol which performs a particular task.
In c programming language total no.of operators are 44.
Eg:+,-,*,%,!....
3.SEPARATORS:-
By using separators,we can separate an individual unit called ‘Token’.
In ‘c’ programming language total no.of separator are 14.
Eg: , : ; ‘ “ “ { } Space.
4.CONSTANTS:-
It is fixedone, never being changed during the execution of program.
In ‘c’ programming language constants are classified into 2 types.
1.Alpha numeric constant
2.Numeric constant