[ create a new paste ] login | about

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

C, pasted on Sep 30:
1
2
3
4
5
6
7
8
9
10
11
void pipe(int fds[2]) { }
void close(int fd) { }

int main()
{
    int p[100][2];

    unsigned i = 10;
    pipe(p[i-1]);
    close(p[i-1][0]);
}


Output:
No errors or program output.


Create a new paste based on this one


Comments: