Explanatory Question
Arrange the following primitive data types in an ascending order of their size:
(i) char (ii) byte (iii) double (iv) int
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.