Some Doubts related to Variable operators

  1. What is float and why we use it ?

  2. if we want to subtraction with c ,it will initialized or not ,third time c can we use ?

  3. difference between integer and float ?

Hey @simar4303_9715cda6958f0652 The difference between integer and float is that of data size it can hold. Integer is a 4 byte datatype therefore is can hold 32 bits data( -2^31 to 2^31-1) whereas as float data type is also 4 byte but float datatype is used to store 32 bit decimal numbers(1.31,6.78 etc) but Integer only holds integers.

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.