C was developed at AT and T Bell laboratories by Dennis Ritchie in year 1972 .The following sequences evolved in discovery of “c” .
ALGOL (Algorithm Oriented Language) 1960
CPL (Combined Programing Language) 1963
BCPL(Basic Combined Programming Language) 1967
B(B Language) 1970
C(C language) 1972
Characteristics of ”C”
1. It is better than “B” as it is more friendly .
2. It is portable.
3. It is case sensitive.(i.e a case-sensitive language which simply means that a variable named as X and a variable named x are two separate variables. If it would have been a non case-sensitive language, than the both X and x would have referred to a single variable.)
Versions of “C”
1. Turbo C developed by Borland International .
2. ANSI “C” is developed by American National Standard Institutes.
3. Microsoft C developed by Microsoft Cooperation .
Flow Charts:
A flow chart is a pictorial representation of an algorithm , it shows the logic of the algorithm and the flow of control.
Algorithm: Algorithm is a step by step outline of flowchart how to solve a problem
Program: Program is an implemented coding of a solution to a problem based on the Algorithm
Symbols used are shown in the following figures.
Example: Flowchart for Swapping two numbers using third variable:
No comments:
Post a Comment