TOPIC TO BE COVERED
- INTRODUCTION TO C
- SYNTAX OF C
- FIRST C PROGRAM
- DATA TYPE
1. INTRODUCTION TO C
C is a middle-level procedual oriented programming language developed by Dennis Ritchie at AT’s & T Bell Laboratories in the year 1972 in USA.
C is used for designing system program, compiler and operating system
2. SYNTAX OF C
Note : # is pre-processor, stdio stands for standard input output which hold predefined function, conio stands for console input output, .h is extension which represent header file.
For output we use printf
For input we use scanf
printf and scanf are predefined function of stdio.h
3. FIRST C PROGRAM
void main ( )
getch() is predefined function of conio.h which holds the screen while displaying output.
Keyword is a reserved word whose meaning is already defined in the compiler.
Compiler is a system program which converts middle level or high level programming language into low level language (Machine Language).
To see the result of our program written in C we will use Turbo C compiler.
Download Compiler Set Up file from the link given Below :
There are 32 keywords in C programming language :