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
Where static variables are stored in memory in c?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
What are 'near' and 'far' pointers?
What is a structure in c language. how to initialise a structure in c?
What is data structure in c and its types?
What is the difference between array and pointer?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
What is a pointer and how it is initialized?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
Explain the use of 'auto' keyword
Do pointers need to be initialized?
How does free() know explain how much memory to release?
What are the different types of endless loops?
What is the difference between typedef struct and struct?