Find the output?
void main()
{float a=2.0;
printf("\nSize of a ::%d",sizeof(a));
printf("\nSize of 2.0 ::%d",sizeof(2.0));}
Answer Posted / manish soni tagore collage jai
here a as a float so 4bytes
and 2.0 is work as double.
when 2.0f work as a flaot so .
sizeof(2.0f)is 4 byte
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the difference between the = symbol and == symbol?
If the size of int data type is two bytes, what is the range of signed int data type?
Define Spanning-Tree Protocol (STP)
Difference between linking and loading?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
What is c preprocessor mean?
Can a file other than a .h file be included with #include?
Suggesting that there can be 62 seconds in a minute?
What are pointers? What are stacks and queues?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What does the format %10.2 mean when included in a printf statement?
What is c definition?
Explain Function Pointer?
Explain how can you be sure that a program follows the ansi c standard?
What is the stack in c?