要在输出的文本中插入单引号,请使用转义序列\'。
\'
#include <stdio.h> int main() { printf("\nA single quote looks like \'\n"); return 0; }