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 c system32 taskhostw exe?
State the difference between x3 and x[3].
Explain about block scope in c?
write a c program in such a way that if we enter the today date the output should be next day's date.
What is #include cctype?
What is %d used for?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What is void main ()?
What is selection sort in c?
What are the advantages of using linked list for tree construction?
how to execute a program using if else condition and the output should enter number and the number is odd only...
Tell me the use of bit field in c language?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
How can I direct output to the printer?
How can I find out how much free space is available on disk?