0% found this document useful (0 votes)
17 views

Escape Sequence & Library Functions

This document discusses escape sequences and library functions in C programming. It outlines common escape sequences like \n for new line and \t for tab. It also lists some key library functions like printf() to display values, scanf() to accept keyboard input, getch() to get single characters, and putch() to output single characters. An example program is provided to demonstrate using printf() and getch(). Header files like stdio.h and conio.h are explained as containing predefined functions and needing to be included.

Uploaded by

Suyog
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Escape Sequence & Library Functions

This document discusses escape sequences and library functions in C programming. It outlines common escape sequences like \n for new line and \t for tab. It also lists some key library functions like printf() to display values, scanf() to accept keyboard input, getch() to get single characters, and putch() to output single characters. An example program is provided to demonstrate using printf() and getch(). Header files like stdio.h and conio.h are explained as containing predefined functions and needing to be included.

Uploaded by

Suyog
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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