Question: . What will be the output : int n1 = 6 , n2 = 3, s = 0, m= 0, d = 1; int *p1,

. What will be the output :

int n1 = 6, n2 = 3, s = 0, m= 0, d = 1;

int *p1, *p2;

p1 = &n1;

p2 = &n2;

s = *p1 + *p2;

m = s * (*p1);

*p2 += 1;

d = 9 + (*p1)/(*p2) - 30;

cout<

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!