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 |
What are the two types of functions in c?
How to run c Program without using IDE of c. means if program made in notepad.then how to compile by command prompt.
Can anyone tell what is stack overflow? what precaution we should take?
What is an example of enumeration?
Explain what are compound statements?
What is the use of function overloading in C?
what do the 'c' and 'v' in argc and argv stand for?
Explain enumerated types in c language?
What are bit fields? What is their use?
What is the o/p of the follow pgm? #include<stdio.h> main() { char char_arr[5]=”ORACL”; char c=’E’; prinf(“%s\n”,strcat(char_arr,c)); } a:oracle b. oracl c.e d.none
What are the types of c language?
What is the output of the following program main();{printf ("chennai""superkings"}; a. Chennai b. superkings c. error d. Chennai superkings