Escape Sequences In C Programming Language
Escape Sequences in c programming language
/* program to see various
escape sequence
*/
#include<stdio.h>
#include<conio.h>
int main ()
{
clrscr();
// printf("HI every one .... \n how r you ?");
//printf("Hi this is\b deepak garg");
//printf("my college name \r is sddiet");
//printf("I had 80 percent \t degree ");
//printf("depak \\garg ");
printf("deepak \agarg");
getch();
return 0;
}
Output
BackSlash n : \n
![]()
![]()
BackSlash b : \b
![]()
![]()
Form feed : \f
![]()
![]()
Carrige return: \r
![]()
![]()
tab : \t
![]()
![]()
backslash:\\
![]()
![]()
beep : /a
![]()