why division operator not work in case of float constant?
Answers were Sorted based on User's Feedback
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 |
What is c language and why we use it?
can we change the default calling convention in c if yes than how.........?
please give me some tips for the selection in TCS.
Write a program that takes a 5 digit number and calculates 2 power that number and prints it
simple program of graphics and their output display
What is derived datatype in c?
What language is c written?
What is the difference between far and near ?
What is string function in c?
what is event driven software and what is procedural driven software?
What is the use of getchar() function?
main() { float a=3.2e40; printf("%d",a); }