Question: What is the output from the following program? #include using namespace std; void do _ something ( int& , int ) ; int main (

What is the output from the following program?
#include using namespace std;
void do_something(int&, int);
int main ()
{
int first, second;
first =1; second =2;
do_something (second,first);
cout << first << second;
return 0;
}
void do_something (int& thisp,int that)
{
int the_other;
the_other =5;
that = the_other +2;
thisp = the_other * that;
return;
}// end do_something
Question 45Select one:
a.
357
b.
352
c.
135
d.
12
e.
10

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!