C ++ Programming

computer science

Description

it is c language (linked list)

please see the attached file


it was my answer but is is something wrong


#include<stdio.h>

#include<string.h>
#define SIZE 15

struct listnode
 
{
char symbol[SIZE+1];
struct listnode *next;
};

int count(struct listnode *p, int maxlen) 
{

if (p = NULL)
return 0;
 
if ((p->next = NULL))
{
return count;
}

else

if (strlen(p->symbol) <= maxlen)
count+=1;
}
}

This is close but not quite there yet. There are some obvious issues to resolve

Instruction Files

Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.