fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. cout << "Tab: \t hola" << endl;
  7. cout << "Nueva Línea: \n hola" << endl;
  8. cout << "Retorno: \r hola" << endl;
  9. cout << "Comillas simples: \' hola \'" << endl;
  10. cout << "Doble comillas: \"hola \"" << endl;
  11. cout << "Backslash: \\ hola " << endl;
  12. cout << "Signo Interrogación: hola \? " << endl;
  13.  
  14. }
  15.  
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
Tab: 	 hola
Nueva Línea: 
 hola
Retorno: 
 hola
Comillas simples: ' hola '
Doble comillas: "hola "
Backslash: \ hola 
Signo Interrogación: hola ?