Functions and Files Flashcards
1
Q
what does DRY stand for
A
Don’t repeat yourself
2
Q
what is a variables lifetime
A
the time in which it exists
3
Q
forward declaration
A
allows us to tell the compiler about the existence of an identifier before it has been defined
4
Q
function prototype
A
includes the function’s return type, name, and parameters, but no function body, followed by a semicolon
5
Q
Preprocessor
A
a process that runs on the code before it is compiled
6
Q
macro
A
a rule that defines how input text is converted to a replacement output text
7
Q
header files
A
are files designed to propagate declarations to code files
8
Q
header guards
A
prevent the contents of a header from being included more than once into a given code file