Escape Characters
      An escape character is a single character designated to invoke an alternative interpretation on immediately subsequent characters in a character sequence.
/*
	http://www.ProbCOMP.com
	
	An escape character is a single character designated to invoke an alternative interpretation on immediately subsequent characters in a character sequence. 
	The term escape sequence refers to the escape character and the character or characters whose meaning is modified.

*/

#include<stdio.h>

void main()
{
	//using newline
	printf("hello\nhai"); // newline
	
	printf("\n\n");
	//using tab
	printf("hello\thai"); //tab
	
	printf("\n\n");
	//using backspace
	printf("hello\bhai");  // backspace
	
	printf("\n\n");
	//using carriage return
	printf("hello\rhai"); //carriage return
	
	printf("\n\n");
	//using a for beep
	printf("hello world\a"); // beep sound
}
	
										

Download Program
Did You Know ?
IP address is a numerical label that is assigned to devices participating in a computer network. Read More