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
Explain null pointer.
how to make a scientific calculater ?
Can you please explain the scope of static variables?
Explain how can I write functions that take a variable number of arguments?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
Is c weakly typed?
Write a program to check palindrome number in c programming?
How can I change the size of the dynamically allocated array?
How does #define work?
Is it acceptable to declare/define a variable in a c header?
p*=(++q)++*--p when p=q=1 while(q<=6)
how should functions be apportioned among source files?
How many keywords are there in c?
write a program to concatenation the string using switch case?
What are the advantages and disadvantages of pointers?