Question 8
Select the correct statement about the sizes of the different data types in C.
sizeof(char) >= sizeof(double)
sizeof(int) >= sizeof(float)
sizeof(double) >= sizeof(float)
sizeof(short) >= sizeof(int)
Select the correct statement about the sizes of the different data types in C.
sizeof(char) >= sizeof(double)
sizeof(int) >= sizeof(float)
sizeof(double) >= sizeof(float)
sizeof(short) >= sizeof(int)
Correct answer
sizeof(double) >= sizeof(float)
Question 8 of 16 in the IIT Madras BS Programming in C (Programming in C) Quiz 1 paper sat on 25 Feb 2024, in the January 2024 term (IIT M DEGREE AN2 EXAM QDB2 25 Feb 2024). It carries 3 marks.