Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

#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

what do you mean by enumeration constant?

1063


What is meant by errors and debugging?

1157


What is the meaning of 2d in c?

1169


What is 2c dna?

1131


What are the string functions? List some string functions available in c.

1044


What is the default value of local and global variables in c?

1101


Why is c platform dependent?

1140


Explain what are the advantages and disadvantages of a heap?

1129


What is a file descriptor in c?

1199


Explain null pointer.

1197


What tq means in chat?

1175


Explain what are linked list?

1093


In a switch statement, explain what will happen if a break statement is omitted?

1126


#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); }

1212


Explain what are multidimensional arrays?

1123