+ 2
How to print "hello world"(including double quote) in c++?
it's very easy to print a simple message but if i wanna print that message having double quote along with it, so how can i do that? please someone tell me!
4 ответов
+ 7
By using the \ escape character.
std::cout << "\"Hello World\"";
+ 2
printf("\"Hello World ! \"");
0
cout<<"\"Hello World\"";