Which is the return datatype of the function prototype of add(int, int)?
Answers
Answered by
0
Explanation:
This value must either be the same type as the type of the method, or a must be a type that can be assigned to the type of the method (for example, if the method returns a double , the return statement may compute an int , since an int value can be assigned to a double variable). Methods may also have the type void
Similar questions