что не так в этой программе?

Не могу запустить этот код ...

#include<cstdio>
int main()
{
struct a{
    int b;
    struct a *next;
};

    typedef struct a no;

    no *n;

    n->b = 12;
    n->next = NULL;

    n->next->b = 12;
    n->next->next = NULL;

    printf("%d %d", n->b, n->next->b);
    getchar();
    return 0;
}
0
задан Neil Butterworth 4 June 2011 в 12:10
поделиться