Choice the correct answer What is the output of the following program? * 1 #include using namespace std; B9 int f(&a) { 2 3 return x;} int main() { int x=10; f(x); cout


Choice the correct answer


What is the output of the following program? *<br>1<br>#include<iostream><br>using namespace std;<br>B9 int f(&a) {<br>2<br>3<br>return x;}<br>int main() {<br>int x=10;<br>f(x);<br>cout<<x;<br>4<br>7<br>8<br>}<br>O 10<br>O 5<br>O Address of 'x'<br>O compile error<br>

Extracted text: What is the output of the following program? * 1 #include using namespace std; B9 int f(&a) { 2 3 return x;} int main() { int x=10; f(x); cout

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here