Important Concepts Programming

Integer(int) Range in DataType

  • An Integer datatype¬†is a datatype which is responsible for holding the values which belong to the whole numbers categories. For example – 23, 098, -287, 0, 123.
  • Range of integer datatype is in between -2,147,483,648 to 2,147,483,647.
  • It can take up to 4 bytes of size.
  • Integer data types can be declared using keyword “int”.

Range of other datatypes

-> Short Range in Datatype

-> Float Range in Datatype

Example of int datatype

int number;

int roll;

 

Leave a Reply