Long Int? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Long Int?

Iā€™ve been learning C++ for a few weeks and Iā€™m up to integer modifiers. (signed, unsigned, etc.) Thereā€™s these modifiers that donā€™t seem like they do anything. The two are: long and short. Iā€™ve tried long int and short int, but it doesnā€™t seem to do anything. Does anyone know what it does?

26th Sep 2019, 11:54 PM
Jake
1 Resposta
+ 1
Martin Taylor wouldnt it be easyer to say it makes no difference until you store a number greater than 2^16(65 536)
27th Sep 2019, 12:28 AM
Lexfuturorum
Lexfuturorum - avatar