Partage
  • Partager sur Facebook
  • Partager sur Twitter

what do this function in long c ?

what do this function in long c ?

    8 mai 2017 à 17:55:46

    what do this function in long c ?:

    int f1(int p[], int a , int b)

    {

    int c;

    if(a>=b)

    {

    return 1;

    }

    else if ((p[a] != p[b]) ||(p[a]<p[a+1]))

    {

    return 0;

    }

    else 

    {

    return f1(p, a+1,b-1);

    }

    }

    -
    Edité par MRInt 8 mai 2017 à 18:02:13

    • Partager sur Facebook
    • Partager sur Twitter
      8 mai 2017 à 22:48:10

      Hello, I move in the english forum.

      To insert code on this forum, please use the code button </> provided for this purpose, choosing the correct language. This will be more readable for everyone.

      • Partager sur Facebook
      • Partager sur Twitter

      what do this function in long c ?

      × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
      × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
      • Editeur
      • Markdown