Estou tentando resolver um algoritmo de uma árvore binária com string, me perdi na função strrcmp, alguém ?

0 respostas
programação
F

#include <stdio.h>
#include <stdlib.h>
#include<string.h>

struct no

{

char chave[15];

struct no<em>esq;

struct no</em>dir;

struct no*pai;

};

typedef struct no No;
void inserir(No<em>x)

{

printf("%s",x->chave[15]);

No</em>y= NULL;
while(x!=NULL)
{
    y=x;

    if(strcmp(z->chave,x->chave)==0)
    {

    }
}

}

int main()
{

return 0;

}

Criado 16 de novembro de 2018
Respostas 0
Participantes 1