Menu

[solved]-Write Output Following Cout Statement Void F1 Auto Auto Void F2 Auto Auto Void F1 Auto Aut Q38993327

Write the output of the following cout statement :

void f1(auto&, auto&);

void f2(auto&, auto&);

void f1(auto &a, auto &b)

{ a++;

b–;

f2(a, b); }

void f2(auto &a, auto &b)

{ a++;

b–; }

int main()

{ auto P = 1, Q = -3;

f1(P, Q);

cout << P << ” ” << Q << endl;

return 0;

}

Expert Answer


Answer to Write the output of the following cout statement : void f1(auto&, auto&); void f2(auto&, auto&); void f1(auto &a, auto &… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *