0

how much is the default size of int? is it refer to bit size? 32 bit? what is it for anyway? is it important?

6th Jul 2016, 12:29 AM
Jastria Rahmat
Jastria Rahmat - avatar
4 Respostas
0
the deafult size of int is 2bytes.. it means we can store values upto 2 bytes in an integer variable
6th Jul 2016, 1:29 AM
Sharat Shankar
Sharat Shankar - avatar
0
1 byte = 8 bit
6th Jul 2016, 2:08 AM
ramabena
ramabena - avatar
0
an int is OS dependent. in most modern day computing an int a 4 bytes, or 32 bits.
6th Jul 2016, 4:50 PM
destro
0
thanks fot the answers
7th Jul 2016, 2:21 PM
Jastria Rahmat
Jastria Rahmat - avatar