Hasan Moulana

Greenhorn
+ Follow
since Jul 11, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Hasan Moulana

Hi,

char a = '\c'; //line 1
char b = '\r';
char c = '\"';
char d = '\b';
char e = '\p'; //line 5

why we use \ inside the quotes is to the characters ', ", ` and for backspace (\b), carriage return (\r) and line feed (\n).

I think (\p) does not mean any thing. thtsy it is throwing error.

char a = '\r'; //line 1
char b = '\b';
char c = '\"';
char d = 'b';
char e = 'p'; //line 5

if you execute this, it wont show the error.