Page 1 of 1

Given the following declarations and assignments, determine the out of the following 2 cout statements: int one; int* p

Posted: Sat May 14, 2022 4:18 pm
by answerhappygod
Given the following declarations and assignments, determine the
out of the following 2 cout statements:
int one;
int* ptrOne;
one = 10;
ptrOne = &one;
cout << ptrOne; //1- determine the output of this
statement in your reply
cout << *ptrOne; //2- determine the output of this
statement in your reply