+ 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

31st May 2018, 8:22 AM
Kasul Kliff
Kasul Kliff - avatar
3 Answers
+ 6
C++: std::cout << "Hello \\\\n World"; Java: System.out.println("Hello \\\\n World");
31st May 2018, 8:35 AM
Ipang
0
c++: cout<<"hello \\\\n world \n";
31st May 2018, 5:02 PM
Kasimu Adamu Musa
Kasimu Adamu Musa - avatar
0
cout<<"hello \\\\n world";
2nd Jun 2018, 5:43 AM
Rohit Mane