Question: Suppose you want to let pointer pa point to variable b, which line should you use? int main() { int a=5, b=10; int *pa=&a, *pb

 Suppose you want to let pointer pa point to variable b,which line should you use? int main() { int a=5, b=10; int

Suppose you want to let pointer pa point to variable b, which line should you use? int main() { int a=5, b=10; int *pa=&a, *pb - &b; // let pa point to b return 0; } pb=&pa pa = pb pa = *pb pb = pa pa=&pb pa = 'pb Question 6 1 pts include using namespace std; int main(void) { int m=1, n=2; int *pm=&m, *pn=&n, *r; r=pn; pn=pm; *pm=*pn+2; cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!