Home / Expert Answers / Computer Science / nbsp-what-output-in-c-code-and-explain-include-using-namespace-std-void-mux2-int-a-pa425

(Solved):   what output in c++ code? and explain \#include using namespace std; void MUX2 (int\& \( a ...



\#include <iostream>
using namespace std;
void MUX2 (int\& \( a \), int \( b \), int\& c)
\( \left\{\begin{array}{l}a *=2 \\

 

what output in c++ code? and explain

\#include using namespace std; void MUX2 (int\& \( a \), int \( b \), int\& c) \( \left\{\begin{array}{l}a *=2 \\ b \\ \text { b* }=2 \\ c *\end{array}\right. \) \}


We have an Answer from Expert

View Expert Answer

Expert Answer


This code is the example of mixture of two parameter passing method, i.e., Pass/Call by value Pass/Call by reference
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe