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

What is the use of pragma in embedded c?

1058


What are inbuilt functions in c?

1035


What is sizeof int in c?

1059


program for reversing a selected line word by word when multiple lines are given without using strrev

2479


how to count no of words,characters,lines in a paragraph.

4428


What are the types of data files?

1205


What is huge pointer in c?

1087


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1908


What is the modulus operator?

1210


Using which language Test cases are added in .ptu file of RTRT unit testing???

4284


What are predefined functions in c?

1096


What is the use of function in c?

1193


Explain what is a program flowchart and explain how does it help in writing a program?

1097


How does pointer work in c?

1124


FILE PROGRAMMING

2242