|
/**
|
|
* \brief Perform addition on \p a and \p b.
|
|
*
|
|
* \param a One of the numbers to be added.
|
|
* \param b Another number to be added.
|
|
* \return The sum of \p a and \p b.
|
|
* \code
|
|
* int sum = add(1, 2);
|
|
* \endcode
|
|
*/
|
|
int add(int a, int b) {
|
|
return a + b;
|
|
}
|