main()
{
float a=3.2e40;
printf("%d",a);
}

Answer Posted / pankaj bhalerao

i run this and i found that the answer is zero because a
is declared as float and it is print ans integer and its
mantissa part is also a float therefore the output is zero.

thank you...

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is #pragma statements?

581


Without Computer networks, Computers will be half the use. Comment.

1861


How would you rename a function in C?

608


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

637


Why is c used in embedded systems?

598






Disadvantages of C language.

646


What are register variables? What are the advantage of using register variables?

671


Write a program to swap two numbers without using a temporary variable?

599


What is the size of a union variable?

588


Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

705


What is bin sh c?

571


Explain what is wrong in this statement?

624


What is a example of a variable?

537


What are the differences between new and malloc in C?

597


How can I use a preprocessorif expression to ?

592