Week 8 / C Input Flashcards
1
Q
variadic function
A
can take in as many arguments as you need
ex: printf()
2
Q
int main( int argc, char * argv[] )
A
argc = number of command line arguments *including the name of the program
argv[0] = name of the program, no limit
3
Q
formatted text files
A
a bunch of text characters that are considered human-readable (like a word doc)
4
Q
binary files
A
contains data in raw state, ex: integer 246813579 is saved as 4-byte chunk of binary digits
5
Q
testing
A
opportunity to find errors when they are introduced; cannot prove absence of defects
6
Q
driver
A
calls appropriate functions to test functionality of code being tested
7
Q
stubs
A
piece of code that stands in for another piece of code, usually has hard-coded return values