Non-decimal radices/Convert: Difference between revisions

Content added Content deleted
m (→‎{{header|C}}: a long of 256 bits does not exist still)
Line 160: Line 160:
#include <string.h>
#include <string.h>


#define MAX_OUTSTR_LEN 256
#define MAX_OUTSTR_LEN 65
char *to_base(long num, int base)
char *to_base(long num, int base)
{
{