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

2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier.  Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed.  When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed.  Sequence of take-off is the sequence of addition to the waitlist

2713


will u please send me the placement papers to my mail???????????????????

1620


What is the difference between far and near in c?

805


What does d mean?

785


What is the size of a union variable?

789


What is the difference between procedural and functional programming?

728


Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

2810


Write programs for String Reversal & Palindrome check

794


What is extern c used for?

763


How can I sort a linked list?

802


What does == mean in texting?

927


How many types of arrays are there in c?

779


What is an auto variable in c?

960


What is the use of #define preprocessor in c?

822


Are the variables argc and argv are always local to main?

785