add

Write a function that returns the sum of two numbers.

Solution:


int add(int param1, int param2)
{
   return param1 + param2;
}

Comments