1] The Range of data types: 1] Char=CHAR_MIN,CHAR_MAX
2] Int=INT_MIN,INT_MAX
3] Float=FLT_MIN,FLT_MAX
2] The size of data types: 1] Char=sizeof(char)
2] Int=sizeof(int)
3] Float=sizeof(float)
4] Double=sizeof(Double)
3] Operators:
*Arithmatic operators programms: (a+b),(a-b),(a*b),(a/b),(a%b)
*Relational operators programms: (a<b),(a<=b),(a>b),(a>=b),(a==b),(a!=b)
*Logical operators programms: (a&&b),(a||b),(a!b)
*Conditional operators programms: (a>=b)?printf("a is greater"):printf("b is greater");
*Assignment operators programms: (a=b)
*Bitwise operators programms: (a>>1),(a<<1)
*Increment/Decrement operators programms: (a++,++a),(a--,--a)
*special operator: (a,b)
4] Area of circle: (3.14*r*r)
5] Area of Rectangle: (Length*Breadth)
Perimeter of Rectangle: 2(l+b)
6] Area of Square: (side*side)
7] Area of Triangle: 0.5*base*Height
, Program Name Logic / Formula
8]Swapping of 2 numbers with using 3rd variable: c=a
a=b
b=c
9]Swapping of 2 numbers without using 3rd variable: a=a+b
b=a-b
a=a-b
10] sum and Average programm: sum=a+b+c
Average=sum/3
11] Simple Intrest: p*n*r/100
12] Reverse of any numbers: d1=no%10
no=no/10
Rev=d1*100+d2*10+d3
13] Sum of Digits using d1,d2,d3: d1=no%10
no=no/10
Sum=d1+d2+d3
14] person is Eligible or not for voting: if (Age>=18)
15] To check number is positive or Negative: if (no>0)
16] To check Student is Pass or Not : if (S1>=30 && S2>=30&& S3>=30 && S4>=30 && S5>=30)
17] To check Password Correct or Wrong: if (password==**)
18] To check Number is natural or not: if (no>=1)