What is the range of short int? Could we use these data modifiers with float and double ? If yes how much their range would be affected?
Data Modifiers Query
hey @himanshigupta579 range of the short int is -32 768 and 32 767, and we cannot use short with float or double.
could we use long with float and double?
we cannot use long with float but we can use long with double, size of float is 4 bytest, double is 8 bytes and long double is 10 bytes.
Okay. Thanks for clearing my query.
If your doubt is clear, please mark it as resolved. 
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.