单项选择题

在C语言中,若有fun(float x){float y; y=2*x-1; return y;},则函数fun的类型是(      )。

A.void
B.int
C.float
D.double