• Caro
    #66
    Jó hogy szólsz, mert a végén még tényleg megmondja, hogy én vagyok a hülye.
    Itt a bizonyíték:
    #include <stdio.h>
    int fuggveny()
    {
    return 0;
    }
    int main()
    {
    int *ptr,i=0;
    ptr=(int*)&fuggveny;
    while (1)
    {
    printf("%d\n",++i);
    *ptr=0;
    }
    return 0;
    }

    EXECUTING:
    /home/csabi/mem
    ----------------------------------------------
    1

    ----------------------------------------------
    Program has been terminated receiving signal 11 (Segmentation fault)
    Press the Enter key to close this terminal ...

    Nem írhatja felül.