#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
Why do we use static in c?
How can I recover the file name given an open stream or file descriptor?
What does 3 mean in texting?
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 []);
What is clrscr ()?
What are c preprocessors?
Explain what is wrong with this program statement? Void = 10;
What is optimization in c?
Is c call by value?
What is file in c preprocessor?
Is null equal to 0 in sql?
What is volatile c?
Explain the difference between null pointer and void pointer.
What is sizeof int?
How can you convert integers to binary or hexadecimal?