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
Get step-by-step solutions from verified subject matter experts
