cfp 3 Flashcards

1
Q

c bool data type

A

booleans

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

represents values that are either true or false

A

booleans

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

header for booleans

A

stdbool.h

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

use [ ] to specify a block of code to be executed, if a specified condition is true

A

if

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

use [ ] to specify a block of code to be executed, if the same condition is false

A

else

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

use [ ] to specify a new condition to test, if the first condition is false

A

else if

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

use [ ] to specify many alternative blocks of code to be executed

A

switch

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