sprintf (s, "%0*x", 2 * sizeof(void *), &i); 九、sprintf的返回值是字符数组中字符的个数,即字符串的长度,不用在调用strlen(s)求字符串的长度。
確定! 回上一頁