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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

\n

\r

\t

'

\

A

\n = newline

\r = return

\t = tabulator

' = Anführungszeichen

\ = Backslash

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly