+ 1
(c++) what to do if we want to print the following on the screen: hello \\n world
(c++) what to do if we want to print the following on the screen: hello \\n world
3 Answers
+ 6
C++:
std::cout << "Hello \\\\n World";
Java:
System.out.println("Hello \\\\n World");
0
c++:
cout<<"hello \\\\n world \n";
0
cout<<"hello \\\\n world";