main()
{
float a=3.2e40;
printf("%d",a);
}
Answer Posted / deepali chandra
the o/p=0
because here we are trying to print the value in int form
which has been of float datatype.since float has a higher
precendence over int therefore it will give the o/p=0 and
similarly after this every output will be =0.this is the
function of the compiler that we cannot print the value of
a higher data type using a lower datatype.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How do you declare a variable that will hold string values?
What are header files why are they important?
What is n in c?
Write a program to print fibonacci series using recursion?
Explain how are portions of a program disabled in demo versions?
What are the types of type qualifiers in c?
how can use subset in c program and give more example
How can you increase the allowable number of simultaneously open files?
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
What is pragma c?
How can variables be characterized?
What is sorting in c plus plus?
Explain that why C is procedural?
Can you pass an entire structure to functions?
What do you mean by Recursion Function?