C Escape Sequence





C Escape Sequence

C allows us to have certain non graphic characters in character constants. Non graphic characters are those characters that cannot be typed directly from keyboard, for example, tabs, carriage return, etc.

These non graphic characters can be represented by using escape sequences represented by a backslash(\) followed by one or more characters.

Escape Sequence           Description    
     \a     Alert
     \b     Backspace
     \f     Formfeed
     \n     Newline
     \r     Carriage return
     \t     Horizontal tab
     \v     Vertical tab
     \\     Backslash
     \"     Double quotation
     \'     Single quotation
     \?     Question Mark

EXAMPLE

#include<stdio.h >
int main()
{
printf("Hello\nfrom programe.");
return(0);
}
OUTPUT:
Hello
from programe.

Next topic is conditional-statements






 




Training For College Campus

We offers college campus training for all streams like CS, IT, ECE, Mechanical, Civil etc. on different technologies like
C, C++, Data Structure, Core Java, Advance Java, Struts Framework, Hibernate, Python, Android, Big-Data, Ebedded & Robotics etc.

Please mail your requirement at info@prowessapps.in


Projects For Students

Students can contact us for their projects on different technologies Core Java, Advance Java, Android etc.

Students can mail requirement at info@prowessapps.in



CONTACT DETAILS

info@prowessapps.in
(8AM to 10PM):

+91-9026070669 , +91-9451396824

© 2016, prowessapps.in, All rights reserved