I'd like to convert a long long to a string in C.
long long x = 999;
I'd like to convert x to a string. How could I go about doing that?
Thanks.
I'd like to convert a long long to a string in C.
long long x = 999;
I'd like to convert x to a string. How could I go about doing that?
Thanks.
long long x = 999;
char str[256];
sprintf(str, "%lld", x);
printf("%s\n", str);