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
What is spaghetti programming?
Tell us two differences between new () and malloc ()?
What is c language and why we use it?
What is the difference between mpi and openmp?
What is difference between && and & in c?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
How can I send mail from within a c program?
What is structure and union in c?
How can I direct output to the printer?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
What is zero based addressing?
What is a stream?
How do you determine a file’s attributes?
What is s in c?
Differentiate between the = symbol and == symbol?