Computer Science, asked by jitenkumar1669, 3 months ago

6. int i, r=0, d;
for (i=n ; i>0;i=i/10)
{
d=i%10;
p = r* 10+d;
}
Find the value of r if n=171​

Answers

Answered by gaganspatil88
0

Answer:

0

Explanation:

you haven't assigned "r" after initialisation so r will not change its value

Similar questions