INTRODUCTION TO C
HISTORY OF C LANGUAGE
HISTORY OF C LANGUAGE
C is developed by Dennis Ritchie in the year 1972 at Bell Laboratories(USA).
• Initially, C language was developed to be used in UNIX operating system. It inherits many features of previous languages such as B and BCPL.

PROGRAM DEVELOPMENT STEPS
PROGRAM DEVELOPMENT STEPS
- The program development steps or phases that we follow a sequence of steps to develop a program in any programming language.
- Generally, the program development steps contains 6 phases, they are as follows
- Requirements
- Analysis
- Design
- Coding
- Testing
- Maintenance
FEATURES OF C LANGUAGE
FEATURES OF C LANGUAGE
- Simple
- Machine Independent or Portable
- Mid-level programming language
- Structured programming language
- Rich Library
- Memory Management
- Fast Speed
- Pointers
- Recursion
- Extensible
STRUCTURE OF C PROGRAM
STRUCTURE OF C PROGRAM
Documentation – comments about program
Link- instructions to compiler
Definition- defines all symbolic constants
Global declaration- variable that is frequently used Main()-
Declaration: all variables
Execution: programming Subprogram- user defined functions

EXECUTION OF C PROGRAM
EXECUTION OF C PROGRAM

EXAMPLE :
#include <stdio.h>
#include <conio.h>
int main() {
print("hello world"); // displaying as output
getch();
return();
}
Comments
Post a Comment