Professional Documents
Culture Documents
cout << "a= " << a << ", b= " << b << endl;
Question 2: (2 Marks)
Question 3: (2 Marks)
The following function is supposed to increment a variable, passed to it by reference.
int increment(const int& a){
return a++;
}