Is the following function definition correct?
void returnsInteger(int a) {
int b = a + 10;
if (b > 20) {
return b;
}
else {
return a;
}
}
a) Yes
b) No
c) Missing return type
d) Incorrect use of return statement