#include using namespace std; int f(const int& x, int* y) { *y = 5; return x; } int main() { int x = 10; cout << f(x, &x) << endl; }