Linked List:
if we search about x in the list
the code in the pic will print 0x1000.
Modifythe code to print0x104 ( last position of x) ?
Extracted text: not occur in the linked list. NODEPTR search(NODEPTR list , int x) { NODEPTR p; for(p=list ; p!=NULL; p=p-> link) if (p->info ==x) return (p); If SSS OX2000 55 OKl04 GX lo00 return (NULL); }
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here