#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 / abhishek singh
yes in output when a=0.5;
but when a=0.4 or 0.6
it no in output
Is This Answer Correct ? | 19 Yes | 5 No |
Post New Answer View All Answers
What is the main difference between calloc () and malloc ()?
What are pointers?
What is self-referential structure in c programming?
Write a program for Overriding.
What is malloc calloc and realloc in c?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
Should a function contain a return statement if it does not return a value?
Why flag is used in c?
What are called c variables?
What is register variable in c language?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
Explain enumerated types.
How do you define a function?
Is c easy to learn?
What are different storage class specifiers in c?