(ANSI) C Reference – C Constants
The constants that can be used in the C programing language.
F or f -> float (suffix)
L or l -> long (suffix)
0X or 0x -> Hexadecimal (prefix zero-x)
0 -> Octal (prefix zero)
e -> Exponential form
(char, octal, hex) ‘a’, ‘\ooo’, ‘\xhh’ -> Character constant
\n -> Newline
\r -> Carriage return
\t -> Tab
\b -> Backspace
\\, \?, \’, \” -> Special characters
“my…string” -> String constant
This entry was posted in C Constants.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.
Tweet This! or use
to share this post with others.