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 f'n in math?
How to implement variable argument functions ?
What is a null string in c?
Explain how can I read and write comma-delimited text?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
Do you know the use of fflush() function?
Write a program to swap two numbers without using third variable in c?
what is the use of call back function in c?tell me with example
what are the static variables
8 Answers HCL, iFlex, TCS, Wipro,
What are c preprocessors?
To what value do nonglobal variables default? 1) auto 2) register 3) static
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.