cout: tab, double quote, and new line : Escape Sequences « Development « C++






cout: tab, double quote, and new line

cout: tab, double quote, and new line



#include <iostream>
using namespace std;
int main()
{
   cout << "\nThis is\t a string\n\t\t with \"many\" escape sequences!\n";
   return 0;
} 

           
       








Related examples in the same category

1.Output tabOutput tab
2.Demonstrate some escape sequences: \t, tn and \bDemonstrate some escape sequences: \t, tn  and \b