Question: Execute the following program. Explain the meaning of *ptr in the cout statement. What is the difference between the *ptr in statement int *ptr =
Execute the following program. Explain the meaning of *ptr in the cout statement. What is the difference between the *ptr in statement int *ptr = &w;
and the statement cout<< "You entered the following integer : "<<*ptr< {i n t w ; int *ptr = &w; cout<<" Enter any integer : "; cin>>*ptr; cout<#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
