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
Write a C/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 maximum number of concurrent threads that the InnoDB plug-in can create.
What is the role of && operator in a program code?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
What is the advantage of a random access file?
What are the different types of endless loops?
#include
What are the advantages of using macro in c language?
What are header files in c programming?
What is ponter?
What are reserved words with a programming language?
What is pivot in c?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
How is a null pointer different from a dangling pointer?
What is a function simple definition?
Is a house a shell structure?