Skip to content

Instantly share code, notes, and snippets.

@GusGA
Last active December 15, 2015 17:10
Show Gist options
  • Save GusGA/5294773 to your computer and use it in GitHub Desktop.
Save GusGA/5294773 to your computer and use it in GitHub Desktop.
int inversor_numero (long num){
long n = num, digito;
printf( "El numero %l invertido es: \n", n );
while( n > 0 )
{
digito = n % 10;
n /= 10;
printf( "%l\n", digito );
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment