显示hello world
显示Hello world的代码
http://www.nowcoder.com/questionTerminal/bc34fc6cbdeb467882c0d37f4baff044
分析:
转义字符串的使用,首先要知道\"代表一个"那么\"\"表示"",再将字符串填充到其中,另外\要使用\\转义。
题解:
#include <bits/stdc++.h>
using namespace std;
int main() {
printf("printf(\"Hello, world!\\n\");");
return 0;
}总结:
转义字符的使用方法。
