What is the output of this program? #include <iostream><br /> using namespace std;<br /> void fun(int x, int y)<br /> {<br /> x = 20;<br /> y = 10;<br /> }<br /> int main()<br /> {<br /> int x = 10;<br /> fun(x, x);<br /> cout << x;<br /> return 0;<br /> }

Correct Answer: 10

In this program, we called by value so the value will not be changed, So the output is 10