Backslash Character Constants | Escape Sequence in ‘C’
These are the special character constant which are mainly used in the output function during ‘C’ programming. There are also called as Escape sequences some of them are as follows.
Escape sequences Meaning
1) \a audible alert
It alerts the user by sounding a bell through the speaker
2) \b back space
It moves the cursor to the left by one position
3) \n new line
It takes the cursor to the beginning of the new line or next line
4) \t tab
It moves the cursor to the next tab stop
5) \o null character
It gets attached at the end of every string constant.
Escape sequences Meaning
1) \a audible alert
It alerts the user by sounding a bell through the speaker
2) \b back space
It moves the cursor to the left by one position
3) \n new line
It takes the cursor to the beginning of the new line or next line
4) \t tab
It moves the cursor to the next tab stop
5) \o null character
It gets attached at the end of every string constant.
Tags:
1 comments:
Thnx for this information..
Post a Comment