Write the sum function that returns the sum of three values of variables, where each is increased by one. Use variables a, b and c as function parameters.
Remember the difference between prefix and postfix increment.
Write the sum function that returns the sum of three values of variables, where each is increased by one. Use variables a, b and c as function parameters.
Remember the difference between prefix and postfix increment.
Sample Input 1:
1 7 -4Sample Output 1:
7Sample Input 2:
5 5 5Sample Output 2:
18Create a free account to access the full topic