+ 1

Data Types Int Double Float Long, which comes first

What is the type of conversion that will be applied when using long double float integer? Could you please explain which is applied in advance of the other as a sequence just like in math of java as / and * apply first then + and - etc...?

29th Apr 2020, 9:58 AM
Mohammad Ala Tahhan
Mohammad Ala Tahhan - avatar
2 Respostas
+ 3
double will come first . 1) double 2) float 3) long 4) int
29th Apr 2020, 10:10 AM
Nitin Tiwari
Nitin Tiwari - avatar
+ 2
byte8 < short16 < char16 < int32 < long64 < float32 < double64
29th Apr 2020, 10:11 AM
zemiak