Itoa - overview
- Politechnika Śląska
- Fundamentals of Computer Programming
Itoa A conversion from an i nteger to A SCII string /* itoa: convert n to characters in s */ void itoa(int n, char s[]) { int i, sign; if ((sign = (n 0); /* delete it */ if (sign) s[i++] = '-'; /* n was negative */ s[i] = '\0'; /* mark the end of ...