Sementation Fault and Bus Error usually means you tried to access some memory that does not belong to you. Arithmetic Exception usually means a divide-by-zero error occurred.
/* Code segment A. */ printf("1. (What is happening?)\n"); /* The \n is important! */ /* Code segment B. */ printf("2. (I am seeing stars.)\n"); /* Code segment C. */ printf("3. (I want to sleep!)\n"); /* Code segment D. */
If you run your program and see:
1. (What is happening?) Segmentation Fault
you know that the error lies in Code Segment B. If you run your program and see:
1. (What is happening?) 2. (I am seeing stars.) Segmentation Fault
you know that the error lies in Code Segment C. And so on.
A total of 20 different hosts have accessed this document in the last 444 days; your host, nsrp-source.comp.nus.edu.sg, has accessed it 5 times.
If you're interested, complete statistics for this document are also available, including breakdowns by top-level domain, host name, and date.