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 |
How many keywords (reserve words) are in c?
Is c an object oriented programming language?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
What is a class?
Is both getch() and getchar() functions are similar? if it is similar means why these two functions are used for same usage? if it is not similar means what is the difference?
write a program that accepts 3 numbers from the user. dispaly the values in a descending order.
What does the file stdio.h contain?
How to avoid structure padding in C?
With the help of using classes, write a program to add two numbers.
What is sizeof return in c?
Tell us two differences between new () and malloc ()?
What are the types of data files?