12.07.2015 Views

Chapitre 13 Quelques exemples de programmes

Chapitre 13 Quelques exemples de programmes

Chapitre 13 Quelques exemples de programmes

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

73printf ("Après le nombre est : %d\n",val);return 0;}Corrigé <strong>de</strong> l’exercice n°8.2 — Encore un#inclu<strong>de</strong> void ajoute_un (int* pointeur_int) {*pointeur_int = *pointeur_int + 1;}int main () {int i=10;printf ("i=%d\n",i);ajoute_un (&i);printf ("i=%d\n",i);return 0;}Corrigé <strong>de</strong> l’exercice n°8.3 — Mon beau sapin#inclu<strong>de</strong> #inclu<strong>de</strong> // Dessin <strong>de</strong> la ramure du sapinvoid ramure (int clignes) {int i=0, j=0;for (i=1; i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!