+ 4
Is division of int data type snd float is possible in c???
why so??
2 Réponses
+ 2
Here's how to do it in C++ static_cast<float>(50) / 2.5
here, 50 is first converted to float, then the division becomes 50.0/2.5
+ 1
Yes, it is possible. The answer will be in float data type. Because that int data type will be automatically converted to float type...
For more information, visit here:-
https://www.sololearn.com/learn/2281/?ref=app
Hope that helps....😁😁😁