C-PROGRAMMING :
CREATED BY DENNIS RITCHIE AT BELL LABORATORIES IN YEAR 1972.
1. HEADER FILE : #include<file_name.h> eg.:- stdio.h<i/o functions>
2. VARIABLES : It allocates memory for data / assign memory for data . Syntax : data type identifier (var_name).
Variable Declaration : syntax :int x, float b, char z etc.
Variable Initialization : int c =20,float b=23 etc
3. LOCAL VARIABLES : These variables are declared within the finctions and cant be accesed outside the functions.
example : # include<stdio.h> // header file
int main()
{
int a =10; // local variables
}
4. GLOBAL VARIABLES : These variables can be accesed from anywhere in the program .
examples : #include <stdio.h>
int a =10;
int main ()
{
}
5. DATA TYPES : A] BASIC : INT , FLOAT , CHAR.
B] DERIVED : ARRAY , POINTER , STRUCTURE.
6,OPERATORS :A] ARITHMETIC OPERATORS.
B] ASSIGNMENTS OPERATORS.
C] RELATIONAL OPERATORS.
D] LOGICAL OPERATORS.
E] BITWISE OPERATORS.
