Escape Sequence & Library Functions

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

ESCAPE SEQUENCE

1.) \n = NEW LINE


2.) \t =TAB
3.) \b =Back Space

LIBRARY FUNCTION
1.) Main:- Its uses define function.
2.) Printf:- It is use to display valves on the screen.
3.)Scanf:- It is use to enter address of the variables through keyboards.
4.)getch:-It is use to put single characters.
5.)put ch:- It is use to input single characters on screen.

Eg.
#include<stdio.h>
#include<conio.h>
Void main()
{
printf( Welcome to C programming);

getch();
}
*In above programmes #,<,>, are the pre-processor.
* #include<stdio.h>, #include<conio.h> are header files where all inbuilt functions
are stored . These files are compulsory included.
Stdio.h include files like printf,scanf.
Conio.h include files like getch,clrscr, ; indicates.

You might also like