What is the output of the following program?
#include
using namespace std; //pro...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 06.05.2020 05:06 luclaymom805
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](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 00:20, kcameronanderso
What’s resistance in an electrical circuit ?
Answers: 1
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 23:30, TheBurntToast
What is the digital revolution and how did it change society? what are the benefits of digital media?
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 15:30, PlzNoToxicBan
The song about casey jones a railroad engineer who gives his life on the job would most likely gall under the folk song category of? a-work song b-nonsense song c-religious song d-ballad
Answers: 1
You know the right answer?
Questions in other subjects:
![Konu](/tpl/images/cats/en.png)
English, 05.05.2020 21:00
![Konu](/tpl/images/cats/en.png)
English, 05.05.2020 21:00
![Konu](/tpl/images/cats/health.png)
Health, 05.05.2020 21:00
![Konu](/tpl/images/cats/istoriya.png)
History, 05.05.2020 21:00
![Konu](/tpl/images/cats/geografiya.png)
Geography, 05.05.2020 21:00
![Konu](/tpl/images/cats/mat.png)
Mathematics, 05.05.2020 21:00
![Konu](/tpl/images/cats/mat.png)
Mathematics, 05.05.2020 21:00
![Konu](/tpl/images/cats/mat.png)
Mathematics, 05.05.2020 21:00
![Konu](/tpl/images/cats/health.png)
Medicine, 05.05.2020 21:00