Yes, I don't need them but I was trying to create another copy so it is separately pointing to new head. That's why *next1. More memory it takes but an idea. And as I said I am linked list noob. Now...
Type: Posts; User: dukysta
Yes, I don't need them but I was trying to create another copy so it is separately pointing to new head. That's why *next1. More memory it takes but an idea. And as I said I am linked list noob. Now...
This came to my mind but I can't work it out.
struct student
{
char name[20];
int year;
struct student *next;
};
struct student *selection(struct student *head,int...
Well i have list with names and year of birth. Now I want to pass that list into function and year (for example 1982) so function should return newly formed list containing only names with specified...
Thx.
Can somebody post a link?I can't view profile.
Thx mates. You've really helped. Solved.
Well, we have two simple 1-dimensional arrays. We need to merge them inside a function and that function should return new formed(merged) array and we have to display that new array inside main ()...