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?

Answers were Sorted based on User's Feedback



why division operator not work in case of float constant?..

Answer / nishit jain

It works fine in Visual studio!!!

Is This Answer Correct ?    0 Yes 0 No

why division operator not work in case of float constant?..

Answer / 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

More C Interview Questions

What is c language and why we use it?

0 Answers  


can we change the default calling convention in c if yes than how.........?

0 Answers   Aptech,


please give me some tips for the selection in TCS.

3 Answers   TCS,


Write a program that takes a 5 digit number and calculates 2 power that number and prints it

7 Answers  


simple program of graphics and their output display

0 Answers   Elysium,


What is derived datatype in c?

0 Answers  


What language is c written?

0 Answers  


What is the difference between far and near ?

0 Answers  


What is string function in c?

0 Answers  


what is event driven software and what is procedural driven software?

0 Answers  


What is the use of getchar() function?

0 Answers  


main() { float a=3.2e40; printf("%d",a); }

9 Answers   Satyam,


Categories