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
Why can't I perform arithmetic on a void* pointer?
What is the explanation for prototype function in c?
What is #include called?
Do you know what are the properties of union in c?
What does the characters “r” and “w” mean when writing programs that will make use of files?
Are enumerations really portable?
Why do we use null pointer?
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
Why c language is called c?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
What is the benefit of using #define to declare a constant?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
What is the description for syntax errors?
What is modifier & how many types of modifiers available in c?
what is ur strangth & weekness