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
What is multidimensional arrays
What does the function toupper() do?
How can I manipulate strings of multibyte characters?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
what type of questions arrive in interview over c programming?
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
What does the error message "DGROUP exceeds 64K" mean?
What is the difference between volatile and const volatile?
What is calloc()?
What are examples of structures?
Explain the difference between strcpy() and memcpy() function?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
Can a pointer be null?
What is pre-emptive data structure and explain it with example?