#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;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdm9pZCBmb28oY29uc3QgZmxvYXQgeCwgZmxvYXQgYVtdKSB7Cgljb3V0IDw8IHggPDwgZW5kbDsKCWFbMF0gKz0gMTAuNTsKCWNvdXQgPDwgeCA8PCBlbmRsOwp9CgppbnQgbWFpbigpIHsKCWZsb2F0IGFbMV0gPSB7IDMuMjUgfTsKCWZvbyhhWzBdLCBhKTsKCXJldHVybiAwOwp9