GATE 2020
October 16, 2023Software-Engineering
October 16, 2023Programming
Question 204 |
What will be output if you will compile and execute the following C code?
void main()
{
printf(“%d”,sizeof(5.2));
}
4 | |
8 | |
2 | |
16 |
Question 204 Explanation:
Size of is a special operator will return number of bytes of data types. By default system will take integer data type,if we are not specifying any data type. Total size is 4 bytes.
Correct Answer: A
Question 204 Explanation:
Size of is a special operator will return number of bytes of data types. By default system will take integer data type,if we are not specifying any data type. Total size is 4 bytes.
Subscribe
Login
0 Comments