What is the output for the below program?
void main()
{
float me=1.1;
double you=1.1;
if(me==you)
printf("love c");
else
printf("know c");
}
Answer Posted / anuradha
know c because do not compare float and double values
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What are the different types of constants?
What is the difference between typedef struct and struct?
How do we open a binary file in Read/Write mode in C?
pierrot's divisor program using c or c++ code
Which driver is a pure java driver
How would you rename a function in C?
What does the error 'Null Pointer Assignment' mean and what causes this error?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
What is calloc() function?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
What are the applications of c language?
Explain goto?
What is register variable in c language?
Explain what are bus errors, memory faults, and core dumps?
how to find binary of number?