18 lines
297 B
C
18 lines
297 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
void print_value( long long value )
|
|
{
|
|
int base;
|
|
char buffer[65];
|
|
|
|
for( base = 2; base <= 16; base = base + 2 )
|
|
printf( "%2d %s\n", base,
|
|
lltoa( value, buffer, base ) );
|
|
}
|
|
|
|
void main()
|
|
{
|
|
print_value( 1234098765LL );
|
|
}
|