Learn How to Program in Cby Dr. Kristin Switala
|
|
Answers to Review: Strings (c)
White Box Testing
1. two errors:
- in line 8, use NULL instead of null
- in line 12, the string function should be strstr, instead of strcat
2. two errors:
- in line 7, the number should be distance[27]
- in line 10, the variable should be date instead of range;
|
|