1
Hello. I am developing this function below:
void inserir_inicio (tipo_lista * p, tipo_lista * novo_no)
{
novo_no -> prox = p;
p = novo_no;
}
And in the main
I’m calling for:
inserir_inicio(&p, cria_no(1));
imprimir_lista(p);
And when I run nothing comes out on the screen.
Would someone tell me if the in_start function is wrong?
Possible duplicate of Insert linked list node
– Woss