0

How to solve the below mentioned question?

int &fun(){ static int x=10; return x; } int main() { fun()=30; cout<<fun(); }

21st Jan 2020, 6:19 PM
pavan
3 Réponses
0
Which question?
21st Jan 2020, 7:00 PM
Denise Roßberg
Denise Roßberg - avatar
0
I don't get it. I just see a small code. What do you want to know about it?
21st Jan 2020, 7:07 PM
Denise Roßberg
Denise Roßberg - avatar