Functions and Files Flashcards

1
Q

what does DRY stand for

A

Don’t repeat yourself

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

what is a variables lifetime

A

the time in which it exists

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

forward declaration

A

allows us to tell the compiler about the existence of an identifier before it has been defined

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

function prototype

A

includes the function’s return type, name, and parameters, but no function body, followed by a semicolon

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

Preprocessor

A

a process that runs on the code before it is compiled

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

macro

A

a rule that defines how input text is converted to a replacement output text

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

header files

A

are files designed to propagate declarations to code files

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

header guards

A

prevent the contents of a header from being included more than once into a given code file

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