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 #line?
Can you add pointers together? Why would you?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
Write a program to implement queue.
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
How can I read a binary data file properly?
Explain the use of 'auto' keyword in c programming?
What is the description for syntax errors?
What is c language in simple words?
What is structure pointer in c?
what is ur strangth & weekness
What does static variable mean in c?
What is the difference between memcpy and memmove?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
C language questions for civil engineering