A link list contains following items:
The first item in link list is A, second is B, third is C, fourth is D and fifth is E. Here, A is pointing to B, B is pointing to C, C is pointing to D and D is pointing to E and E is the last item. Its link part contains NULL. What will be the output after the following sequence of steps? (First is the pointer pointing to first element)
- struct NODE*P;
- P=First->next->next;
- First->next->next=P->next;
- P->next->next=P;
- printf(%d,First->next->next->next->info);
Reveal answer
Fill a bubble to check yourself