Ignoring Expression Results
We usually ignore the value returned by an assignment.
Some C functions return a result which is usually ignored. These are usually
- Return values not related to function semantics
E.g. main() returns zero (success) and non-zero (error)
Ignored return error statuses should be
- extremely unlikely to occur
- not fatal if the failure occurs
|