單項選擇題

若函數(shù)定義如下,則函數(shù)返回值的數(shù)據(jù)類型是()floatfun(intx){inty=x+2;return(y);}

A.float
B.int
C.不能確定
D.編譯出錯

微信掃碼免費搜題