Question: be the output of the following code? 1 . #include 2 . using namespace std; 3 . vold fun ( int x , int y

be the output of the following code?
1. #include
2. using namespace std;
3. vold fun(int x, int y)
4.
5. x =10;
6. y =11;
7.}
8.
int main()
9.{
4
10. int x =12;
11. int y =10;
12. fun(x, y);
13. cout << y;
14. return 8;
15.}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!