#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
Is c still relevant?
What is the default value of local and global variables in c?
How do I use void main?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
What is a pointer on a pointer in c programming language?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
What happens if a header file is included twice?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
What is the maximum no. of arguments that can be given in a command line in C.?
With the help of using classes, write a program to add two numbers.
What are the different types of constants?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
Why clrscr is used after variable declaration?
Explain argument and its types.