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
What is the benefit of using const for declaring constants?
What are structures and unions? State differencves between them.
What is a lookup table in c?
What is structure in c definition?
Can we assign integer value to char in c?
How many levels of pointers can you have?
What is malloc calloc and realloc in c?
What do you mean by a local block?
List the different types of c tokens?
Is the exit() function same as the return statement? Explain.
provide an example of the Group by clause, when would you use this clause
Can we add pointers together?
What does nil mean in c?
Is it possible to execute code even after the program exits the main() function?
The statement, int(*x[]) () what does in indicate?