Regarding Range

what’s the difference between long int and long long int?
what is the range of float(basically with decimal precision )?

long is equivalent to long int , just as short is equivalent to short int . A long int is a signed integral type that is at least 32 bits, while a long long or long long int is a signed integral type is at least 64 bits

Float values have between 6 and 9 digits of precision , with most float values having at least 7 significant digits.

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.