// Program 4.4.1#include using namespace std;int main (){ int var = 20; // actual variable declaration. int *ip; // pointer variable ip = &var; // store address of var in pointer variable cout < "value="" of="" var="" variable:="" ";="" print="" the="" variable=""> cout < var=""><><> cout < "address="" stored="" in="" ip="" variable:="" ";="" print="" the="" address="" stored="" in="" ip="" pointer=""> cout < ip=""><><> cout < "value="" of="" *ip="" variable:="" ";="" access="" the="" value="" at="" the="" address="" available="" in=""> cout < *ip=""><> return 0;}TASK1. Explain in details what the program does?2. What is the output.Extracted text: Pointer 1 // Program 4.4.1 #include using namespace std; int main () int var = 20; int *ip; ip = &var; // actual variable declaration. // pointer variable // store address of var in pointer variable // print the variable value cout < "value="" of="" var="" variable:="" ";="" cout="" «="" var=""><«>«><« endkcendl;="" cout="">«>< "value="" of="" *ip="" variable:="" ";="" cout=""><« *ip="" «endl;="" occess="" the="" value="" at="" the="" address="" available="" in="" pointer="" return="" 0;="">«>
TASK
1. Explain in details what the program does?
2. What is the output.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here