Useful Data Types:

The most commonly and the useful data types are enlisted below:

  1. Integer : int eg: int a=1;
  2. Float : float eg: float pi =3.14
  3. Character : char eg: char c=”a”;
  4. string : char [10] eg: char str[10] = “alice”;