Escape sequences – Theory and Programs [Learn to code]

What are Escape sequences? Programs on Escape sequences.

  • 012. Print following outputs: http:\\www.kodegod.com\new in C language
    #include<stdio.h> 
    #include<conio.h>
    main()
    {
     clrscr();
     printf("http:\\www.kodegod.com\learn-programming");
     getch(); 
    }
  • 013. Print the following output in C Language

    #include<stdio.h>
    #include<conio.h>
     main()
     {
      clrscr();
      printf("n");
      printf("   /\        n");
      printf("  //\\      n");
      printf(" ///\\\    n");
      printf("////\\\\  n");
      printf("  |||         n");
      printf("  |||         n");
      getch();
     }

013. Print the following output in C Language

#include<stdio.h>
#include<conio.h>
 main()
 {
  clrscr();
  printf("\n");
  printf("   /\\        \n");
  printf("  //\\\\      \n");
  printf(" ///\\\\\\    \n");
  printf("////\\\\\\\\  \n");
  printf("  |||         \n");
  printf("  |||         \n");
  getch();
 }