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
What is data types?
Place the #include statement must be written in the program?
What is a nested loop?
What is getch() function?
Why static is used in c?
What is difference between structure and union in c programming?
Why C language is a procedural language?
Find MAXIMUM of three distinct integers using a single C statement
Explain how do you search data in a data file using random access method?
What is maximum size of array in c?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
What is "Duff's Device"?
What is pragma in c?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
Write a Program to find whether the given number or string is palindrome.