Answer:
Answer is explained below
Step-by-step explanation:
List of escape character and their use:
\a Alarm or Beep
\b backspace character transfers the cursor one character back
\f Form Feed
\\ New Line
\r Carriage Return Character
\t Tab (Horizontal) \t is a horizontal tab character
\v Vertical Tab character
\\ Backslash (escape sequence to print backslash)
\? Question Mark
\' Single Quote (Escape character to print ' single quote)
\" Double Quote (Escape character to print " double quote)
#include <stdio.h>
int main()
{
printf("Hello World\\");
printf("H\ae\al\al\ao World\\");
printf("Hello Wo\b\brld\b\b\b\\");
printf("Hello World\\");
printf("Hello wr \r old\\");
printf("Hello \tWorld\\");
printf("Hello"); printf("\v world\\");
printf("Hello\\World\\");
printf("\?Hello World\\");
printf("\'Hello World\\");
printf("\"Hello World\\");
return 0;
}
Output: