The operator that sets a bit in the result if both operands have that bit set
What is AND (&)?
This keyword can be used to define/alias one type as another.
What is typedef?
The function that expands or shrinks an existing heap block.
What is realloc?
The C compiler runs this step at the very beginning
What is the preprocessor?
The (unsigned) decimal form of these binary numbers
1101010
0011111
0101010
What are 106, 31, and 42?
This function must be called once you are done using a file.
What is fclose?
This data structure represents values that can be multiple types by allowing its fields to overlap.
What is a union?
What the parser converts the program source code into
What is a syntax tree?
The bitwise formula to find the second bit of an integer
(eg. f(0010) = 1, f(1000) = 0)
What is (x >> 1) & 1 or (x & 2) >> 1?
Two functions an ADT should always have
What are a constructor/destructor (alloc/free, new/delete, etc)?
Two kinds of problem you can encounter by managing heap memory incorrectly.
What are dangling pointers and memory leaks?
This program combines multiple object modules into an executable file
What is the linker?
The (decimal) result of
(3 + ~7) & (-4 ^ 2)
Assuming 4-bit signed integers
What is -6?
The possible string arguments to the fopen function that determine how the file can be used.
What are "r", "r+", "w", "w+", "a", and "a+"?
A line of code that allocates space for 12 doubles and assigns it to a variable.
What is semantic analysis?