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
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
What is the sizeof () a pointer?
What is an operator?
What math functions are available for integers? For floating point?
Explain what is the difference between functions abs() and fabs()?
What is a union?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
What are different types of variables in c?
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
What are # preprocessor operator in c?
Is there anything like an ifdef for typedefs?
what does static variable mean?
Sir i need notes for structure,functions,pointers in c language can you help me please
Why pointers are used?
Does c have circular shift operators?