Question: Given the code: #include using namespace std; void XYZ( int* &p1, int* &p2) { } int *p3; p3=p1; p1 = p2; p2 = p3;
Given the code: #include using namespace std; void XYZ( int* &p1, int* &p2) { } int *p3; p3=p1; p1 = p2; p2 = p3; int main { int i = 5,j = 7; int *pi &i, *pj &j; XYZ( pi, pj): *pi*pi*pj cout < < < <
Step by Step Solution
There are 3 Steps involved in it
include using namespace std ... View full answer
Get step-by-step solutions from verified subject matter experts
