#include <iostream>
using namespace std;
void add(int x, int y, int* result)
{
*result = x + y;
}
int main()
{
int result;
add(2,3, &result);
cout << result << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdm9pZCBhZGQoaW50IHgsIGludCB5LCBpbnQqIHJlc3VsdCkKewogICAqcmVzdWx0ID0geCArIHk7Cn0KCmludCBtYWluKCkKewogICBpbnQgcmVzdWx0OwoKICAgYWRkKDIsMywgJnJlc3VsdCk7CiAgIGNvdXQgPDwgcmVzdWx0IDw8IGVuZGw7CiAgICByZXR1cm4gMDsKfQ==