单项选择题

以下哪个函数的定义是错误的?
A、void f() {}
B、void f(int i) { return i+1; } 
C、void f(int i) {}
D、int f() { return 0; }

微信扫码免费搜题