C Program
Introduction:-
C is general purpose programming language. It has many desirable qualities of modern programming languages like portability flexibility and efficiency
- Portability of a program mean transferring a program to another computer with minimum changes one.
- c has the primary strength of being efficient. This is due to the fact that it has many low level fractions. It also has a ability to build complex programmes out of simple elements.
Development of C:-
- 1960 AL Gol to international committee
- 1967 BCPL - Martin Richard. (BCPL - Basic Combined Programming Language)
- 1970 B - Ken Thompson.
- 1972 C - Dennis Ritchie
- 1978 K & NC - Kenning ham & Dennis Ritchie.
- 1989 ANSI C - ANSI Committee
- 1990 ANSI/ISO C - ISO Committee
Features Of C:-
- C combines the capabilities of an assembly language as well of feature of high level language.
- Highly portability
- System software development
- More built in functions
- Case sensitive
- Powerful & flexible language.
C Program:-
C program can be thought of a collection of decentralized com-putative structures called functions. It these functions are logically group and put together then it is referred as library. Thus c program can be defined as a collection of function supported by standard 'C' library.
Program Structure:-
stdio.h = Standard input / output
conio.h = Console input / output
{ }= starting loop and ending loop
main() = main() is a special funtion used to inform the compiler that the program starts logically. Every program must have exactly one main function.
Post a Comment
Blogger Facebook