怎么用printf函数输出%号

printf("%%");

printf函数中,%用于格式控制,如果想输出文本%,需要使用两个百分号,即%%就可以了

猜你喜欢

转载自blog.csdn.net/qq_42804678/article/details/83385597