Error: (8192) Creation of dynamic property App\Layout\Layouts\Base\Base::$viewFile is deprecated

Socrative Fonctions récursives

Question 1 sur 5
Afficher toutes les questions

void f1(unsigned a) {
    if (a) {
        cout << string(a, 'o') << '-';
        f1(a - 1);
        f1(a - 1);
    }
}

Qu'affiche f1(3)?