What is the Difference between short int and int and log int (in programmig c)? Plz give me a example. Thanks.. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

What is the Difference between short int and int and log int (in programmig c)? Plz give me a example. Thanks..

24th Nov 2017, 6:38 PM
Youssif Almassri
Youssif Almassri - avatar
1 Resposta
+ 4
The size required to be allocated. short is typically 2 bytes, long is 4 bytes, and int is either 2 or 4. Sorry, but no example I can think of can demonstrate how much space is assigned.
24th Nov 2017, 6:51 PM
John Wells
John Wells - avatar