Write the size of the following data type both in terms of bytes and bits.
a. int.
b. Long.
c. float.
d. char
Answers
Answered by
4
Explanation:
(a)int - 4 bytes or 16 bits
(b)long - 8 bytes or 32 bits
(c)float - 4 bytes or 16 bits
(d)char - 2 bytes or 8 bits
Similar questions