z = 1
typeof(z)
z = 1L
typeof(z)
the above code gives me the output as the double and then folow up by integer but why as we know that 1 is also an integer and to make it integer 'L' is added to the back of it. What is the reason ?
I was checking the data type of the variable, I was expecting both the variable to be integer