C语言之*特殊字符输出

C语言200题//不一定都AC但大部分都对

*特殊字符输出

%d,\n在c语言中该如何输出???

下面的code会明白

code

#include <stdio.h>
int main()
{
printf("%%d\n");//在屏幕中输出%d
printf("\n\n");//在屏幕中输出\n
printf("%%%%d\n");//%%d
return 0;
}

发布了6 篇原创文章 · 获赞 5 · 访问量 139

猜你喜欢

转载自blog.csdn.net/weixin_46198136/article/details/103996129
今日推荐