Computer Science, asked by vedikachoudhary0330, 6 months ago

what is the range of an integer variable in c plus plus​

Answers

Answered by kirandeepkaur25
1

Answer:

Primitive Built-in Types

Type Typical Bit Width Typical Range

signed char 1byte -127 to 127

int 4bytes -2147483648 to 2147483647

unsigned int 4bytes 0 to 4294967295

signed int 4bytes -2147483648 to 2147483647

14 more rows

Answered by anindyaadhikari13
1

\star\:\:\:\sf\large\underline\blue{Question:-}

  • What is the range of integer variable in C++?

\star\:\:\:\sf\large\underline\blue{Answer:-}

Size of int data type - 4bytes, Range= \sf { - 2}^{31}  \: to \:  {2}^{31}  - 1

Similar questions