What is wrong with this function can you find problem in


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

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: What is wrong with this function can you find problem in
Reference No:- TGS0957063

Expected delivery within 24 Hours