Create a free account on Computer Sir Ki Class and unlock access to valuable learning resources.
Exam Paper Downloads: After registering and logging in, you can download exam question papers in PDF format to practice and prepare for your exams.
Student Support: Get assistance with your doubts, queries, and questions related to your studies. Our support is here to help you understand topics and resolve your learning difficulties.
Register today and make your exam preparation easier and more effective!
Arrange the following primitive data types in an ascending order of their size:
(i) char (ii) byte (iii) double (iv) int
Answer:
The size of given data types are –
(i) char – 16 Bit
(ii) byte – 8 Bit
(iii) double – 64 Bit
(iv) int – 32 Bit
So in the ascending order of size we shall write as follows
byte –ย charย –ย intย – double
C. Sir| Created: 22-Mar-2018 | Updated: 16-Apr-2019|ICSE2015