• [^] # Re: c++ su><or

    Posté par . En réponse à la dépêche Interview de Bjarne Stroustrup. Évalué à 2.

    #include <iostream>

    void toto(void *(*f)(void *))
    {
    f(0);
    }

    char *titi(char *x)
    {
    cout << "OK" << endl;
    return 0;
    }

    int main()
    {
    toto((void *(*)(void *))titi);
    }