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
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
will u please send me the placement papers to my mail???????????????????
What is the difference between far and near in c?
What does d mean?
What is the size of a union variable?
What is the difference between procedural and functional programming?
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
Write programs for String Reversal & Palindrome check
What is extern c used for?
How can I sort a linked list?
What does == mean in texting?
How many types of arrays are there in c?
What is an auto variable in c?
What is the use of #define preprocessor in c?
Are the variables argc and argv are always local to main?