Intersection point of 2 link list

how to link both list?
like how we input address so that at some point both link list will link together

@tishya_goyal hey you cannot change the address of a pointer. What you can change is the location to which it points, to link two linked list make them point to the same location. (Both of the linked list will still have different address its just that they are pointing to same location now)
If this resolves your doubt mark it as resolved.

how can i point them to same location?

@tishya_goyal simply by making them point to same variable. Here I am providing a simple snippet for two pointers, same is the case with Linked List.

int *a;
    int *b;
    int i;
    a=&i;
    b=&i;
    i=0;
    cout<<a<<" "<<b<<" "<<&i<<" "<<i<<"\n";                    // a and b will print the location they point too
    cout<<&a<<" "<<&b<<"\n";                           // address of a and b

First line will have first three values same as they point to same location i.
now as address of a and b is different second line will have different values.
If this resolves your doubt mark it as resolved.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.