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


Please Help Members By Posting Answers For Below Questions

praagnovation

2015


What is the use of in c?

752


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1227


What is the condition that is applied with ?: Operator?

875


Why do some versions of toupper act strangely if given an upper-case letter?

829


How do you declare a variable that will hold string values?

917


what is recursion in C

811


Write a program to print fibonacci series using recursion?

819


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

1013


Are there namespaces in c?

783


What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

1052


Define VARIABLE?

904


find the sum of two matrices and WAP for it.

881


What is a constant?

814


What is derived datatype in c?

818