What is the output of the following program explaininclude


What is the output of the following program? Explain.

#include
using namespace std;
void f(int i, int j) {
i = 5;
j = j + i;
cout << "f: i = " << i << endl;
cout << "f: j = " << j << endl;
}
int main () {
int i = 15;
int j = 30;
f(i, j);

cout << "main: i = " << i << endl;
cout << " main: j = " << j << endl;
}

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: What is the output of the following program explaininclude
Reference No:- TGS01291719

Expected delivery within 24 Hours