Write the definition of a function add , which receives two integer parameters and returns their sum.

Write the definition of a function add , which receives two integer parameters and returns their sum.

LANGUAGE: C++

CHALLENGE:

Write the definition of a function add , which receives two integer parameters and returns their sum.

SOLUTION:


int add (int a, int b){
    return a+b;
}

Add comment