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 |
Explain function?
What is the use of header files?
What is the difference between if else and switchstatement
what type of errors are checked during compilation
Where in memory are my variables stored?
what will be the output: main(){char ch;int a=10;printf("%d",ch);}
36 Answers Accenture, TCS, Wipro,
WHAT IS FLOAT?
main() { int a=5; printf(?%d,%d,%d\n?,a,a< <2,a>>2); } Answer: 5,20,1 please explain this code in detail
Explain what is the difference between declaring a variable and defining a variable?
how to convert binary to decimal and decimal to binary in C lanaguage
7 Answers BPO, Far East Promotions, IBM, RBS,
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
What is typeof in c?