This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/utoa.c

13 lines
233 B
C

#include <stdio.h>
#include <stdlib.h>
void main()
{
int base;
char buffer[18];
for( base = 2; base <= 16; base = base + 2 )
printf( "%2d %s\n", base,
utoa( (unsigned) 12765, buffer, base ) );
}