Posts by Vinicius Rodrigues • 1 point
1 post
-
0
votes1
answer39
viewsQ: Doubling element of a double chained list
I need to create a function that receives a Lita and duplicate all nodes on the list. then the list 1 2 3 4 would be 1 1 2 2 3 3 4. My attempt: void duplicaLista (struct tDescritor *lst){ struct tNo…