正在加载图片...
Type in Expression Type promotion/conversion byte >short >int> long float double byte b 104 float f=(float)3.14159; double d =35 f-297/b; [double int float- double/ byte] K凶心 2008-20092a Michael Fung, CS&E, The Chinese University of HK2008-2009 2a Michael Fung, CS&E, The Chinese University of HK 33 Type in Expression Type promotion/conversion – byte → short → int → long → float → double byte b = 104; float f = (float) 3.14159; double d = 35 * f – 29.7 / b; [double  int * float – double / byte]
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有