[ create a new paste ] login | about

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

C, pasted on Apr 30:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Pisa memoria! xD
#include <stdio.h>
#include <string.h>

int array[4];
int i=0;

int main(){

printf("Muahahaha... xD");
memset(array,0,1000000);

return 0;
}


Output:
1
Segmentation fault


Create a new paste based on this one


Comments: