单项选择题

Which of following declaration of method is correct?
A、int f(int x; int y)
B、int f(int x, y)
C、int f(int x, int y)
D、int f(x, y: int)