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
Is c still relevant?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
Is c is a low level language?
What are the advantages of the functions?
What is difference between structure and union?
What is the function of volatile in c language?
What is context in c?
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
Explain two-dimensional array.
Is void a keyword in c?
What is the meaning of 2d in c?
Is null valid for pointers to functions?
When should a type cast be used?
What does sizeof function do?