[ create a new paste ] login | about

Link: http://codepad.org/3dGXAlO6    [ raw code | output | fork ]

k06a - C, pasted on Apr 20:
1
2
3
4
5
int main()
{
    double (*arr)[5248] = malloc(sizeof(*arr) * 5248);
    arr[0][0] = 1;
}


Output:
1
Segmentation fault


Create a new paste based on this one


Comments: