Answer to Question #278585 in C++ for JcC

Question #278585

Quotation marks are usually paired with a similar type, like a double quote (") paired with another double quote ("), and the same goes for single quotes ('). However, I'd like to try complicating things by putting together a pair of a double quote(") and a single quote(') in one statement!

1
Expert's answer
2021-12-12T01:17:57-0500
#include <iostream>

int main() {
  std::cout << "\"\'" << endl; // output: "'
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog