#include <iostream>
using namespace std;
void foo(const float& x, float a[]) {
cout << x << endl;
a[0] += 10.5;
cout << x << endl;
}
int main() {
float a[1] = { 3.25 };
foo(a[0], a);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdm9pZCBmb28oY29uc3QgZmxvYXQmIHgsIGZsb2F0IGFbXSkgewoJY291dCA8PCB4IDw8IGVuZGw7CglhWzBdICs9IDEwLjU7Cgljb3V0IDw8IHggPDwgZW5kbDsKfQoKaW50IG1haW4oKSB7CglmbG9hdCBhWzFdID0geyAzLjI1IH07Cglmb28oYVswXSwgYSk7CglyZXR1cm4gMDsKfQ==