+ 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 Answer
+ 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