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
Is printf a keyword?
What are the characteristics of arrays in c?
What are static variables in c?
What is chain pointer in c?
What is a macro?
What is meant by errors and debugging?
What is the deal on sprintf_s return value?
write a progrmm in c language take user interface generate table using for loop?
What oops means?
What is meant by preprocessor in c?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
How do you list a file’s date and time?
Why C language is a procedural language?
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
What are the advantages of using macro in c language?