Question: In C++, Write a small program that performs the following steps: 1. Creates dynamically two variables of type int 2. Assign to the variable the

 In C++, Write a small program that performs the following steps:

In C++, Write a small program that performs the following steps: 1. Creates dynamically two variables of type int 2. Assign to the variable the values 30,50 respectively. 3. Add the value of the variables of type int and save the result in the first variable. 4. Copy the value of the first int variable into the second variable. 5. Finally print all the variables you have created

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!