單項(xiàng)選擇題

把x、y定義成float類型變量,并賦同一初值3.14的定義語句是()

A.floatx,y=3.14;
B.floatx,y=2*3.14;
C.floatx=3.14,y=3.14;
D.floatx=y=3.14;

微信掃碼免費(fèi)搜題