Can anyone tell me what the output of this code is suppose to be?
It is from a test exam
Code:int tal2= 15;
int tal3= 17;
int * p = &tal2;
int * q = &tal3;
cout <<tal2 <<" " << *q <<endl;
(*p)++;
cout <<*p<<" " << tal3 <<endl;
p = p + 1;
cout <<*p<<" " << *q << endl;
