- char a ='a';
- char buf[80];
- sprintf(buf,"The ASCII code of a is %d.", a);
- printf("%s", buf);
printf是能输出的,但加上sprintf就不能输出了
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.