среда, 22 мая 2019 г.

Эзотерический синтаксис С

#include <stdio.h>

int (*foo(int (*i)[]))[]  
{  
    printf("Foo()\n");
    return i;
}

int main(void)  
{  
    int (*(*F[])(int (*)[]))[] = { &foo };

    (*F)(NULL);

    return 0;  
}

Комментариев нет:

Отправить комментарий