RANGE OF INTEGER

HEY,
PLEASE EXPLAIN THE RANGE CONCEPT OF INTEGER INCLUDING NEGATIVES NUMBERS ?

@CODER_JATIN range of int is -1e9 to +1e9 and that of long long int -1e18 to +1e18.
hope its clear if yes dont forget to hit like and mark resolved :smiley:

But, can you explain how this range has come?

@CODER_JATIN this range has been defined in c++ for int variable by the developers

Ohk, thanks and one more doubt, If we declared unsigned integer , so its range should be positive?

@CODER_JATIN yes you are right