Aptitude
October 16, 2023Software-Engineering
October 16, 2023Nielit Scientist-B CS 4-12-2016
Question 13 |
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 13 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 13 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.