Posts by Rodrigo Alves Guerra • 16 points
1 post
-
0
votes1
answer762
viewsA: Chained list - sort by selection
#include<stdio.h> #include<stdlib.h> struct cel { int cont; struct cel *prox; }; typedef struct cel celula; celula* insere (int x, celula *p) { celula *nova = (celula *)malloc (sizeof…