Give the output for the following: #include int g=10; void fun(int &x,int y) { x=x-y; y=x*10; cout<<x<<,<<y; } void main() { int g=5; fun(::g,g); }
Reveal answer
Fill a bubble to check yourself
Give the output for the following: #include int g=10; void fun(int &x,int y) { x=x-y; y=x*10; cout<<x<<,<<y; } void main() { int g=5; fun(::g,g); }