Code Examples
- Code to sum the elements of an array
- Code that reads integers until EOF or a non-int is encountered
- Code to skip clearspace in input
- Code to execute commands based on user
selection from from a menu of choices
- Code to perform mutually exclusive actions based on the value of an enumerated type
- Code illustrating use of "early return" or "bailout" in function implementations
- Code with an "error" that
was an intentional attempt to intruduce a trap door into the Linux kernel.
|