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 |
Can u return two values using return keyword? If yes, how? If no, why?
Can a local variable be volatile in c?
how does printf function work
Hai friends im a i year student. i want to develop my knowledge in the field of TSR in c. How I'm Improve ?
Write a program for finding factorial of a number.
Is main an identifier in c?
what is difference between overriding and overloading?
Write a code to remove duplicates in a string.
What is c language and why we use it?
write a “Hello World” program in “c” without using a semicolon?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
What is function definition in c?