There are some important Escape sequences in C++ :
u\n
e.g. cout<<"
Sof
\n tech \n";
//cout<<"sof"<<'\n'<<"tech"<<'\n';
u\t
e.g. cout<<"Sof
\t tech \n";
//cout<<"sof"<<'\t'<<"tech"<<'\n';
u\’
e.g. cout<<"\'
Softech \'
"<<'\n';
u\”
e.g. cout<<"\"
softech \""<<'\n';
No comments:
Post a Comment