Original Post
Hi, I'm trying to convert an int into a c-string with a sprintf() call. But I need to know the length of the c-string first for buffer overflows. Or just: I need to know LENGTH in this source: Gerben VV
int number = 109;
char string[ LENGTH ];
sprintf(string, "%d", number);