Int size is 2 or 4 bytes?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Int size is 2 or 4 bytes??

13th Jul 2019, 1:05 PM
TBK
2 Answers
+ 2
It depends on computer architecture in 64 bit system int size is 4 byte and in 32 bit size is 2 byte
13th Jul 2019, 1:09 PM
Ujjawal Dubey
Ujjawal Dubey - avatar
0
Depends ... For short int and int it is 2 bytes and for long int it is 4 bytes
13th Jul 2019, 1:06 PM
Chetali Shah
Chetali Shah - avatar