展开全部
\c means you are escaping the "c" character, allowing you to print c \c means you are escaping the "\" character, which allows you to print \c
Escaping a character means that you are making the compiler ignore the character, if it is used for any functions or is reserved within a string.
Ex:
string = "bla bla \c bla \\c";
printing string will turn out like this:
"bla bla c bla \c"
引用谷歌某某的回答,一般不常用,国外大学练习中有提及
Escaping a character means that you are making the compiler ignore the character, if it is used for any functions or is reserved within a string.
Ex:
string = "bla bla \c bla \\c";
printing string will turn out like this:
"bla bla c bla \c"
引用谷歌某某的回答,一般不常用,国外大学练习中有提及
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
我只知道%c,是字符
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
未见过
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询