我要打印"%SomeString%" in C.
"%SomeString%"
它是否正确?
printf("%%s%",SomeString);
不,%% 输出 %,所以正确的语法是:
printf("%%%s%%",string);