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 / revathi pawar
know c is the answer because float and double r not same
the memory allocation differs so know c will b printed
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is the meaning of ?
Is that possible to store 32768 in an int data type variable?
Write a program to find factorial of a number using recursive function.
What is meant by high-order and low-order bytes?
What is double pointer?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
What is calloc() function?
What is int main () in c?
Can include files be nested?
Compare array data type to pointer data type
What does %d do in c?
how do you execute a c program in unix.
When should I declare a function?
What are preprocessor directives in c?
Explain why C language is procedural?