#include <iostream>
using namespace std;
void sher(int a[]) {
cout << "in fun: " << sizeof(a) / sizeof(a[0]) << '\n';
}
int main() {
int a[] = {1, 2, 3, 4};
sher(a);
cout << "out fun: " << sizeof(a) / sizeof(a[0]) << '\n';
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdm9pZCBzaGVyKGludCBhW10pIHsKCWNvdXQgPDwgImluIGZ1bjogIiA8PCBzaXplb2YoYSkgLyBzaXplb2YoYVswXSkgPDwgJ1xuJzsKfQoKaW50IG1haW4oKSB7CglpbnQgYVtdID0gezEsIDIsIDMsIDR9OwoJc2hlcihhKTsKCWNvdXQgPDwgIm91dCBmdW46ICIgPDwgc2l6ZW9mKGEpIC8gc2l6ZW9mKGFbMF0pIDw8ICdcbic7CglyZXR1cm4gMDsKfQ==