#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 do you mean by enumeration constant?
What is meant by errors and debugging?
What is the meaning of 2d in c?
What is 2c dna?
What are the string functions? List some string functions available in c.
What is the default value of local and global variables in c?
Why is c platform dependent?
Explain what are the advantages and disadvantages of a heap?
What is a file descriptor in c?
Explain null pointer.
What tq means in chat?
Explain what are linked list?
In a switch statement, explain what will happen if a break statement is omitted?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
Explain what are multidimensional arrays?