[ create a new paste ] login | about

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

C, pasted on Oct 12:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stddef.h>

int main(void) {
    int i;
    struct incomplete *p1;
    int *p2;
    int (*p3)(void);

    p1 = NULL; /* p1 is a pointer to a incomplete type */
    p2 = &i;   /* p2 is a pointer to an object */
    p3 = main; /* p3 is a pointer to a function */

    return 0;
}


Output:
No errors or program output.


Create a new paste based on this one


Comments: