Computer Science, asked by samiksha1405, 1 year ago

Give output:
#include<iostream.h>
int global = 20;
void fun (int &x, inty)
X = X-y;y=x* 10;
cout <<x<<;' <<y<< "\n";
void main()
int global = 8;
fun ( :: global, global);
cout << global << ;'<< : global << '\n';
fun (global, :: global);
cout << global << ;'<<:: global << '\n';​

Answers

Answered by Rectitude
1

Answer:

1st output

12 , 8

second output

-8 , 20


samiksha1405: thanks
Similar questions