| Previous Slide |
Run-Time Error: Segmentation fault |
Next Slide |
Now, run the executable with some data:
% total Enter numbers to sum below (separated by spaces). Enter 0 (zero) as the last number. 5 6 7 0 Segmentation fault You'll notice that the program produces a nice Segmentation fault. This calls for using debugging techniques! |