with following function prototype and structure of linked list, how do i write function to return an address/? I think what I got is wrong. please help
prototype:
struct node *search(struct node *start,int n);
structure:
struct node { int value; struct node * next;};
Code:struct node *search(struct node *start,int n)
{
if ( n = node->value)
return node;
else
return (\0);
}