Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 4

ESCAPE SEQUENCE

#include<stdio.h>
#include<conio.h>
void main ()
{
clrscr ();
printf (“Hello\tworld”);
getch ()
}

Hello world

#include<stdio.h>
#include<conio.h>
void main ()
{
clrscr ();
printf (“Hello\aworld”);
getch ();
}

Helloworld (inserts a bell tone after


Hello)

#include<stdio.h>
#include<conio.h>
void main ()
{
clrscr ();
printf (“Hello\b\bworld”);
getch ();
}

Helworld

#include<stdio.h>
#include<conio.h>
void main ()
{
clrscr ();
printf (“Hello\”world”);
getch ();
}

Hello”world

#include<stdio.h>
#include<conio.h>
void main ()
{
clrscr ();
printf (“Hello\ world”);
getch ();
}

Hello world

#include<stdio.h>
#include<conio.h>
void main ()
{
clrscr ();
printf (“Hello\\ world”);
getch ();
}

Hello\world

#include<stdio.h>
#include<conio.h>
void main ()
{
clrscr ();
int a,b,c;
a=10
b=20
c=a+b;
printf (“%d”,c);
getch ();
}

30

#include<stdio.h>
#include<conio.h>
void main ()
{
clrscr ();
int a,b,c;
a=10
b=20
c=a+b;
printf (“the value of c is %d”,c);
getch ();
}

the value of c is 30

%d —> convergent character

You might also like