New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Can there be no decimal point in a floating point number
Eg. Can we give statements like: float var=41; double var=2996; etc.,
1 Answer
+ 5
Yes, you can.
And it is known as implicit type casting or type promotion.