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 how do you convert strings to numbers in c?
why we are using semicolon at the end of printh statment
Why is main function so important?
Write a C/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
How do I access command-line arguments?
List the difference between a While & Do While loops?
Write a program to write a given string in maximum possibilities? i.e str[5]="reddy"; i.e we can write this string in 120 ways for that write a program
Explain what are the different file extensions involved when programming in c?
In which category does main function belong??
Write a program to know whether the input number is an armstrong number.
what is calloc and malloc?
how to print "hai" in c?