附录*转义字符
puts("123abc");puts("\61\62\63\141\142\143");puts("\x31\x32\x33\x61\x62\x63");#include <stdio.h>
int main(){
puts("The string is: \61\62\63\x61\x62\x63");
return 0;
}The string is: 123abc如何在字符串中输出"和\
Last updated
puts("123abc");puts("\61\62\63\141\142\143");puts("\x31\x32\x33\x61\x62\x63");#include <stdio.h>
int main(){
puts("The string is: \61\62\63\x61\x62\x63");
return 0;
}The string is: 123abcLast updated
#include <stdio.h>
int main(){
puts("C\tC++\tJava\nC first appeared!\a");
return 0;
}C C++ Java
C first appeared!#include <stdio.h>
int main(){
puts("abc\\61\"xyz");
return 0;
}abc\61"xyz