Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void SommeListe(Liste *list)
- {
- int k;
- k=0;
- Element *actuel = list->premier;
- while (actuel != NULL)
- {
- k= k+ actuel->nombre;
- actuel = actuel->suivant;
- }
- printf("%d k=", k);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement