------------------------------------------------------------------------------
MC logo
Array Error I
[^] CSc 220 Home
------------------------------------------------------------------------------
[Introduction] [Boolean and Control] [Functions] [Arrays and Pointers] [Dynamic Arrays] [Array Errors] [Command Array] [Standard Containers] [Structs and Classes] [Automatic Pointer] [Multi-File Programs] [Copying Objects] [Templates] [Inheritance] [Plain C I/O] [Type Odds And Ends] [Plain C Strings] [File I/O]
[Array Error I] [Array Error II] [Array Error III]
boom1.c
/*
 * This program will blow up on most systems.
 */

int main()
{
        int arr[10];
        int m;

        for(m = 0; 1; ++m) 
                arr[m] = m - 5;
}