單項選擇題

在定義函數fun(charsex)時,如果函數需要返回整數,則下面函數定義正確的是()

A.voidfun(charsex){}
B.charfun(charsex){}
C.floatfun(charsex){}
D.intfun(charsex){}

微信掃碼免費搜題