Knowledge Walls
Venkatesan
Hyderabad, Andhra Pradesh, India
Passcode:
Introduction [cont'd]
Input Output Functions [cont'd]
Structures and Unions [cont'd]
# Preprocessor [cont'd]
Escape sequence in Introduction of Programming in C
1809 Views
What is C Escape Sequence? 
C Escape sequence are character combinations that are backslash followed by some characters. Escape sequence characters are escape from characters interpreted by the compiler. It is especially used to feed new lines and including tabs in the output.
Escape characters and meaning 
Characters Meanings
\n New line
\t Horizontal tab
\a Beep sound
\b Backslash
\f Form feed
\r Carriage return
\\ Backslash
\' Single quotation mark
\" Double quotation mark
Program
#include
void main(){
      printf("\t ONE \n\t TWO \n\t THREE");
}
Output 
ONE
TWO
THREE
Next Topics
Next lessons of current book.
Introduction of Programming in C
Introduction of Programming in C
Introduction of Programming in C
Previous Topics
Previous lessons of current book.
Introduction of Programming in C
Best Lessons of "Programming in C"
Top lessons which are viewed more times.
Structures and Unions of Programming in C
Input Output Functions of Programming in C
Structures and Unions of Programming in C
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details