Lost your password?

Don't have an account ? Register ×
CPP All : Tokens, Keyword and Identifiers
Concept Notes and Resources
Concept Learning Code Sheets

Using some popular escape sequence characters. #2288

Using some escape sequences in c++ for common tasks.

#include <iostream>
using namespace std;
int main()
cout<<"Taj Mahal is in Indian";
cout<<"Marks in Computerst95"<<endl;
cout<<"How are you?"<<endl;
cout<<"\ is a special character"<<endl;
cout<<"This is "string literal""<<endl;
cout<<"'C' is father of "C++""<<endl;
cout<<"\101 is octal representation of "<<'101'<<endl;
cout<<"\x41 is hexadecimal representation of "<<'x41'<<endl;
cout<<"Null character is written as \0"<<endl;
return 0;
Solved Problems

Finding Identifiers and Literals #1778

Write down identifiers and literals in the code given here.

Checking for valid Identifiers #1782

Find the valid and invalid identifiers in the following piece of code segment

Print formatting using \t and \n escape sequences #2303

Write the following text using the cout chainĀ using t and n escape sequences

Finding Errors – Escape Sequences #3164

There are some errors in the following code due which the expected output as


Concept Notes:4  Code Sheets:1  Solved Problems:4  Quizzes:1