...
Aptitude
October 16, 2023
Software-Engineering
October 16, 2023
Aptitude
October 16, 2023
Software-Engineering
October 16, 2023

Nielit 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));
}

A
4
B
8
C
2
D
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.

Leave a Reply

Your email address will not be published. Required fields are marked *