Upload
acadennis
View
6
Download
1
Embed Size (px)
DESCRIPTION
C Programming - Conversion Specifier
Citation preview
Lecture2
Basic
sofC
ECS501U:CPr
ogramming(2014/15)
Slide35
Conversio
nspe
cifie
rs&Es
capech
aracters
Conversio
nspe
cifie
rs&Es
capech
aracters
char
chain of characters
between and (string)
int
long int
unsigned int
long unsigned int
octal
hexadecimal
float
double
long double
floating point
in scientific notation
%e or %f (smaller)
%c %s %d %ld
%u %lu
%o %x %f%f or %lf
%Lf
%e %g
\a \b \f \n \r \t \v \\ \' \" \?
alert(bell)
backspace
formfeed
newlin
ecarriagere
turn
horizon
taltab
vertica
ltab
backsla
shsin
gleq
uote
doub
lequ
ote
questio
nmark