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 / sangeetha
the answer for the above code will be know c because else
part is printed because float and double is not same
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Write a progarm to find the length of string using switch case?
What is an operator?
List a few unconditional control statement in c.
What is void pointers in c?
What are identifiers and keywords in c?
Explain what is #line used for?
Write a code to generate a series where the next element is the sum of last k terms.
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
What is identifier in c?
What is this infamous null pointer, anyway?
What is the difference between struct and union in C?
Describe the modifier in c?
How can I manipulate strings of multibyte characters?
How can I implement sets or arrays of bits?
What are the benefits of c language?