Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const char* mais_palavras(vetor *vec){
- int i, p=0, k=0 , maior=0, imaior=0;
- velemento
- for(i=0; i< vec->tamanho; i++){
- while(strcmp(vec->elementos[i].str[p], "/0") != 0){
- if(strcmp(vec->elementos[i].str[p], " ") == 0) k++;
- if (k>maior) imaior=i;
- }
- }
- }
- return (vec->elementos[imaior].str);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement