C-Programmierung Flashcards
1
Q
Suffixe
U
L
UL
LL
ULL
A
U = usigned
L = long
UL = unsigned long
LL = long long
ULL = unsigned long long
2
Q
\n
\r
\t
'
\
A
\n = newline
\r = return
\t = tabulator
' = Anführungszeichen
\ = Backslash
3
Q
Anzahl der Bytes
char
short
int
long
float
double
A
char = 1
short = 2
int = 4
long = 4/8
float = 4
double = 8
4
Q
printf Formatierungszeichen
char
signed int
unsigned int
integer okatl
integer hex
float
double
A
char = %c
signed int = %d
unsigned int = %u
integer okatl = %o
integer hex = %x
float = %f
double = %lf
5
Q
scanf Formatierugszeichen
char
int dezimal
int oktal
int hex
short dezimal
float
double
A
char = %c
int dezimal = %d
int oktal = %o
int hex = %x
short dezimal = %hd
float = %f
double = %lf
6
Q
A