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
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
Does c have circular shift operators?
What is a file descriptor in c?
What is the use of void pointer and null pointer in c language?
Write a program to know whether the input number is an armstrong number.
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
Explain which function in c can be used to append a string to another string?
int far *near * p; means
What is the value of h?
What is the use of structure padding in c?
which is an algorithm for sorting in a growing Lexicographic order
What is a lookup table in c?
What is the maximum length of an identifier?
Can main () be called recursively?
What are the string functions? List some string functions available in c.