Q29: Differentiate escape sequence character ‘\n’ & ‘\r’.

A29: 


'\n' (Newline): It represents the newline character and is used to indicate the end of a line of text and move the cursor to the next line.

'\r' (Carriage Return): It represents the carriage return character and is used to move the cursor to the beginning of the current line without advancing to the next line.

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.