Question: Score: a ) Get two double inputs from the user. Then create two pointer variables which store the memory address of the previous two pointers.

Score:
a) Get two double inputs from the user. Then create two pointer variables which store the
memory address of the previous two pointers. Use these pointers to multiply the double
inputs by a factor of 10. Print the new value of the input variables as well as their memory
location and the values stored in the pointer variables.
Test Data:
Inputs from user and pointer variables:
var1=1.5,var2=2.5
pt1,pt2
Output using pointers:
var1=15, var =25
var1 has address { address }
var2 has address {address}
pt1 has value { value }
pt2 has value { value }
Write in C and show code please
 Score: a) Get two double inputs from the user. Then create

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!