main()
{
float a=8.8;
double b=8.8;
if(a==b)
printf("Equal");
else
printf("not equal");
getch();
}
what is the output?
with reason
Answer Posted / vikram
answer is not equal;
bcoz float cannot be compared with double.
Is This Answer Correct ? | 5 Yes | 8 No |
Post New Answer View All Answers
praagnovation
What is the use of in c?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
What is the condition that is applied with ?: Operator?
Why do some versions of toupper act strangely if given an upper-case letter?
How do you declare a variable that will hold string values?
what is recursion in C
Write a program to print fibonacci series using recursion?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
Are there namespaces in c?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
Define VARIABLE?
find the sum of two matrices and WAP for it.
What is a constant?
What is derived datatype in c?