#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 / syam kumar

output is no

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is wrong with this program statement?

614


Is there any data type in c with variable size?

626


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

756


Which is better pointer or array?

589


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

725






if p is a string contained in a string?

1398


How do I create a directory? How do I remove a directory (and its contents)?

598


How to set file pointer to beginning c?

655


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1312


How can you find the day of the week given the date?

607


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

726


Was 2000 a leap year?

617


What are the different types of objects used in c?

564


How old is c programming language?

567


When should you not use a type cast?

649