Question: Given the following C structurestruct Node { int data; struct Node * next; } ;Write a methodint samelength ( struct Node * L 1 ,

Given the following C structurestruct Node { int data; struct Node *next;};Write a methodint samelength(struct Node*L1, struct Node *L2) which returns 1 if L1 and L2 are the same length and 0 otherwise. THERE IS NOT LENGTH member function --- this is C code not object code If you do not know, write "I do not know"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!