1.
a)How many variables are local to the swap function below?
b)What are they? please explain in detail
Extracted text: void swap(int n1, int n2) { int temp = n1; n1 = n2; n2 temp; cout <« "inside="" swap(int,="" int)\n";="" cout="">«><« "n1 = " << n1 « " n2 = " « n2 << endl; "n1=" << n1 « " n2="">« "n1 = " << n1 « " n2 = " « n2 << endl;>
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here