What's the location

void Location(int &X, int Y=4) { Y+=2; X+=Y; }

void main() { int PX=10,PX=10; Location(PY); cout<<PX<<","<<PY; Location(PX,PY); cout<<PX<<","<<PY; - }

×

Problem Loading...

Note Loading...

Set Loading...