These are three functions which allocate dynamic memory.
What are malloc, calloc, and realloc?
This step turns an assembly language file into a machine language file.
What is assembling?
This is the purpose of an ADT.
What is to hide implementation from the user?
This is the most common method used to represent binary numbers.
What is two's complement?
C is ____ type-checked, which means it occurs at compile time.
What is statically?
These are lines of code which leak 100 bytes of memory.
What are int * x = malloc(100); x = NULL; ?
This step combines multiple object files into an executable.
What is linking?
This file serves as the interface for the client when using an ADT.
What is a header file?
This is the 8 bit binary representation of -7.
What is 0b 1111 1001?
C is ____ typed, which means you can get around type restrictions.
What is weakly?
These are lines of code which use a dangling pointer.
This step of compilation breaks characters into groups representing symbols.
What is lexical analysis?
This type is used to store generic data.
What is void *?
0b 1001 0001 << 2
What is 0b 0100 0100?
This is a declaration of a function pointer which takes 2 C strings and returns and int.
What is int (*func)(char *, char *) ?
This is a problem with the following code and how to fix it.
What is memory must be allocated for each word, not just the pointers to the words; strcpy is copying to random memory addresses?
This step of compilation checks the syntax correctness of a syntax tree.
What is semantic analysis?
This keyword is used in a ADT header file to hide the implementation of a struct.
What is typedef?
a >> 3 =
What is 10?
This is a macro which takes two arguments and combines them into a single token.
What is #define COMBINE(a, b) a##b ?
This is the output of the following code:
What is 4?
This is the output of the following code:
What is nothing?
Given the following struct definitions for a queue ADT, this is an implementation of the enqueue function, which adds an item to the queue.
unsigned char a = 0b10001000;
char b = 0b11110000;
~a & b || 0b00110011=
What is 1?
This is the output of the following code.
What is 19?