What is wrong with this function? Can you find problem in this code?
void calcSum(int a, int b)
{
return a+b;
}
a. it is declared as void but returns an int.
b. Only a single variable can be returned.
c. "calcSum" is a reserved word.
d. Only the data type should be declared in the parameter list