Exam 2 Topics
Below is a list of all the content that the exam can cover:
Structures
- Declaration
- Instantiation (creating an instance)
- Accessing members
Strings
- strlen()
- terminating a string (identifying the end)
- Accessing standard input
- scanf() and getchar()
- EOF
Pointers
- Pointers as function parameters
- Pointers and const
- Pointers and arrays
- Pointers to structures
Automatic variables
The Call Stack
Command line arguments
- How do we use them
- argc and argv
Dynamic memory allocation
- The Heap
- malloc(), realloc(), free()
- Memory leaks