Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

when we use /n /t /a /r and why we use ?please give exampl with programme.

0 votes
asked Jan 3, 2019 by anasbinanwer anasbinanwer (120 points)

1 Answer

0 votes
answered Jan 3, 2019 by cryptDecoder (140 points)
In c programming have 256 charcters, the enire characters are divide into two parts ASCII character set and ESCAPE Sequence.

The /n /t /a /r are the ESCAPE sequence in c there uses are folows

/n : is used to print the output in new line

/t  : is used to give one horizontal tab in desired output

/a : is used to ALARM or BEEP

/r : is used to Carriage Return
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...