#include<stdio.h>
#include<conio.h>
void main()
{
float a;
clrscr();
a=0.5;
if(a==0.5)
printf("yes");
else
printf("no");
getch();
}
Answer Posted / ravi kant singh
Answer is it will print no.....because you can not compare two floating point number upto precision
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Explain the red-black trees?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
What is function prototype in c language?
What is a class c rental property?
Explain how does flowchart help in writing a program?
show how link list can be used to repersent the following polynomial i) 5x+2
What is the usage of the pointer in c?
What is null pointer in c?
what is stack , heap ,code segment,and data segment
How can I implement a delay, or time a users response, with sub-second resolution?
What are the loops in c?
What is the difference between constant pointer and constant variable?
What are the complete rules for header file searching?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
What is the use of typedef in c?