The output of this code shows only one student's informations.
But I want to display the all students' informations.
Please find what is wrong?

In show(), use a loop to traverse through the list till


and increment info every time to point to the next node. In your code, you are not progressing through the list.