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; }