Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How does C language output the reverse order number circularly and need shaping?
How does C language output the reverse order number circularly and need shaping?
# Contains? & ltstdio.h & gt

Invalid? main(){

int? n,k = 0;

scanf("%d ",& ampn);

When (noun)

{

k = k * 10+n % 10;

n/= 10;

}

printf("%d ",k);

}