Escape sequences


The following is a list of escape sequences.

	\n 	Newline
	\t	Horizontal Tab
	\v	Vertical Tab
	\b	Backspace
	\r	Carriage Return
	\f	Form feed
	\a	Audible Alert (bell)
	\\	Backslash
	\?	Question mark
	\'	Single quote
	\"	Double quote
	\000	Oct - No one uses Octal unless they have an ICL background...
	\xhh	Hex number
	    	Decimal table just for fun.
        \       Preprocessor line continuation, must be immediately followed 
	        by a newline.
These can be used anywhere that C expects to see a character constant. Must be time for a quick example.
	main()
        {
	  char word[]="\x6d\x6f\x64\x65\x6d"; 
	   
	  printf("%s\n", word);
	}
Cant you work out what will appear if you ran this program??

Examples:

Example program.


Top Master Index Keywords Functions


Martin Leslie

et-next.git/?h=packet-loop-back'>summaryrefslogtreecommitdiff

diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-09-22 14:43:50 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-09-28 16:16:27 -0400
commita481daa88fd4d6b54f25348972bba10b5f6a84d0 (patch)
tree27897f0e1a16de0e4446d340bdd7dfe1e1e694c1
parent00ea8cba5ef7b783f11cb1a0b900b7c18d2ce0b6 (diff)
drm/radeon: always apply pci shutdown callbacks
We can't properly detect all hypervisors and we need this to properly tear down the hardware. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat