[ create a new paste ] login | about

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

C++, pasted on Oct 16:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <iostream>

#include <cstring>

using namespace std;

int main() { char n[10];

char x[20]; x[0] = '\0';

strcat(n,"\0");

strcat(n,"0123456");

strcat(n,x);

strcat(n,x);

cout << strlen(n);

}


Output:
1
Disallowed system call: SYS_socketcall


Create a new paste based on this one


Comments: