#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


Please Help Members By Posting Answers For Below Questions

Why do we use static in c?

810


How can I recover the file name given an open stream or file descriptor?

815


What does 3 mean in texting?

810


write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);

2087


What is clrscr ()?

848


What are c preprocessors?

899


Explain what is wrong with this program statement? Void = 10;

982


What is optimization in c?

734


Is c call by value?

795


What is file in c preprocessor?

873


Is null equal to 0 in sql?

859


What is volatile c?

759


Explain the difference between null pointer and void pointer.

838


What is sizeof int?

829


How can you convert integers to binary or hexadecimal?

784