TomoLink
Medium

What is the output? #include<iostream> using namespace std; void func(int &x){ x=x*2; } int main(){ int a=5; func(a); cout<<a; }

What is the output? #include<iostream> using namespace std; void func(int &x){ x=x*2; } int main(){ int a=5;… | C++ — Output Questions MCQ | TomoLink | TomoLink