Consider the following C++ statements (5 points) int x, y; int *a; x = 17; y = x; x = y; a = &y; Which statement f
Posted: Tue Jul 12, 2022 8:10 am
Consider the following C++ statements (5 points)
int x, y; int *a; x = 17; y = x; x = y; a = &y;
Which statement from the following changes the value of y to 33?Briefly explain your choice in your own words.i) &x = 33;ii) *y = 33;iii) x = 33;iv) *a = 33;
int x, y; int *a; x = 17; y = x; x = y; a = &y;
Which statement from the following changes the value of y to 33?Briefly explain your choice in your own words.i) &x = 33;ii) *y = 33;iii) x = 33;iv) *a = 33;