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...

why division operator not work in case of float constant?

Answer Posted / vignesh1988i

wat i think is that , when we manipulate floating point
numbers with the same or integers , the resulting should be
float implicitly ... but when we divide any number (floating
or int) the remainder will be in INTEGER only implicitly...
so as defined in compiler numbers with float , if
manipulated gives float implicitly..... but in % operator
that will be made false... that's why i think that is not
allowed!!!!!!!!!!!


thank u

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain null pointer.

1041


how to make a scientific calculater ?

2010


Can you please explain the scope of static variables?

998


Explain how can I write functions that take a variable number of arguments?

1028


Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

1986


Is c weakly typed?

968


Write a program to check palindrome number in c programming?

963


How can I change the size of the dynamically allocated array?

1093


How does #define work?

1011


Is it acceptable to declare/define a variable in a c header?

1060


p*=(++q)++*--p when p=q=1 while(q<=6)

1698


how should functions be apportioned among source files?

1058


How many keywords are there in c?

1021


write a program to concatenation the string using switch case?

2035


What are the advantages and disadvantages of pointers?

1012