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
How can I sort more data than will fit in memory?
What is ponter?
What are disadvantages of C language.
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
What does char * * argv mean in c?
Do character constants represent numerical values?
Is there a way to jump out of a function or functions?
What is hungarian notation? Is it worthwhile?
In c programming language, how many parameters can be passed to a function ?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
Which is best linux os?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
What are the properties of union in c?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What is difference between constant pointer and constant variable?