explain the following statements with underline in the program and write out the res 5188041

Explain the following statements with underline in the program and write out the result of the program. (hint: using pointers in c++ to ans)
(a)
int x = 30;
int* p = &x; (this statement is underline)
cout
cout
cout
cout
int y = 10;
p = &y;   (this statement is underline)
cout
cout
cout
cout
(b)
double x = 3.5;
double* p1 = &x;   (this statement is underline)
cout
cout
cout
cout
double y = 4.5;
double* p2 = &y;
cout
cout
cout
cout
(c)
string s = “abcd”;   (this statement is underline)
string* p = &s;   (this statement is underline)
cout
cout
cout
cout
cout

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now