标签: c compiler-errors
#include <stdio.h> int main(void) { char *s = "Jordan"; printf("hello, %s\n, s"); }
有没有人知道我可以让这个原生C源代码工作的方式?我无法编译并运行它。
答案 0 :(得分:1)
你的第二句话在错误的地方。尝试:
printf("hello, %s\n", s);