主页
C 语言
C stdio sprintf() 函数
demo_ref_stdio_sprintf
运行 ❯
×
更改方向
保存代码
更改主题
#include
int main() { char destination[50]; sprintf(destination, "Hello %s!", "World"); printf("%s", destination); return 0; }
Hello World!