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 / smartmove
Correction in last answer:
float me=1.1 it stores like 1.0999
double you=1.09999999
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Why we not create function inside function.
What is the ANSI C Standard?
Differentiate between static and dynamic modeling.
Why is extern used in c?
how to count no of words,characters,lines in a paragraph.
Is it cc or c in a letter?
How can I pad a string to a known length?
Is c easier than java?
Explain what is the difference between a free-standing and a hosted environment?
Explain a file operation in C with an example.
What do you know about the use of bit field?
What the advantages of using Unions?
What is the difference between a free-standing and a hosted environment?
What is new line escape sequence?
What is the maximum no. of arguments that can be given in a command line in C.?