subject

What is the output of the following program?

#include
using namespace std; //prototype of function find

void find (int& a, int& b, int c);
int main () {
int a, b, c;
a = 1;
b = 2;
c = 3; //call function find

find (a, b, c);
cout << "first call: " << a << ", " << b << ", " << c << endl; //call function find

find (a, b, c); cout << "second call: " << a << ", " << b << ", " << c << endl; //call function find
find (a, b, c); cout << "third call: " << a << ", " << b << ", " << c << endl; system("pause"); return 0; } //User defined function with reference parameters

void find(int& a, int& b, int c) { a = b + c; b = a + 1; c = b + 2; }

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place?
Answers: 1
question
Computers and Technology, 23.06.2019 05:20
Which operating system is a version of linux?
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Does anybody know how to hack into a google account? i had important information on it and it is gone now and i need getting it back.
Answers: 1
question
Computers and Technology, 24.06.2019 14:00
Text or graphics that print at the bottom of every page are called footings footers headers headings
Answers: 1
You know the right answer?
What is the output of the following program?

#include
using namespace std; //pro...
Questions
question
Mathematics, 17.02.2020 04:29
Questions on the website: 13722359