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
How does normalization of huge pointer works?
What is the difference between the local variable and global variable in c?
Explain what are the different file extensions involved when programming in c?
What is double pointer in c?
Can we add pointers together?
What are 3 types of structures?
write a program to print data of 5 five students with structures?
Explain what is the general form of a c program?
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
What are pragmas and what are they good for?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
Explain what does the format %10.2 mean when included in a printf statement?
What is the difference between array and linked list in c?
Why does notstrcat(string, "!");Work?