如何输出%号(个人笔记) 在printf中输出%不会有输出 第一种: 在要输出的数字前面加两个%% (printf("%%%d",5) 输出结果为%5) 第二种: 在要输出的数字后面加两个%% (printf("%d%%",5) 输出结果为5%)