1) At line 24, you're attempting to output the value returned by Add(m[5][3]). But there is no value returned by Add, because you've declared it void.
2) At line 24, m[5][3] is beyond the end of the array. Arrays are indexed starting from 0, so the last element in your array is m[4][2].
3) At line 24, even if those were valid array indices, m[5][3] would be a single integer. Your Add function has been defined to take an array, not an integer.
4) In your definition of Add, you haven't specified the type of the array you're passing as an argument.
it means that the function doesn't return anything, that's why cout can't display it on the screen...
from my opinion, it's just doesn't depend on the function's return type but also from your returned value (i.e. if you doesn't return a value, you will encounter an error)