0

y do we have int, int16, int32, and int64

i just dont get it. plz answer as simple as posible

23rd Jun 2016, 2:13 AM
TheBurningPhanttom
TheBurningPhanttom - avatar
3 odpowiedzi
+ 1
The number you can save in int16 is bigger than the number you can save in int. As the number after int rises the length of the number you save rises. Int16 is 16 bit, int32 is 32 bit and int64 is 64 bit.
23rd Jun 2016, 4:39 AM
Даниел Нинов
Даниел Нинов - avatar
+ 1
their defferent is the max value that they can hold. and i think int64 use more RAM. the default int we use is int32 untill we are sure the number we use is always smaller or bigger than int32 size. Int16: (-32,768 to +32,767) Int32: (-2,147,483,648 to +2,147,483,647) Int64: (-9,223,372,036,854,775,808 to +9,223,372,036,854,775,807)
24th Jun 2016, 8:53 PM
behzad
0
They all differ in the MAXIMUM VALUE that they,can hold. like, Int32 can hold bigger number that Int16. Hope this is what you need.
23rd Jun 2016, 4:07 PM
Erwin Mesias
Erwin Mesias - avatar