C errors and exceptions
Handle invalid entries, missing records, and interrupted work. Follow each failure from the input that triggers it to a response the user can act on.
Input and validation
- NULL pointer guardPrint a label when the phone number is missing
- strlen length checkRead the depot prefix on a damaged label
- strtol and errnoReject a mistyped order quantity
State and collections
- Array bounds guardFind a seat after the coach changes
- Integer division guardSplit an equipment fee across a class