Hi all,

can i store multiple data items inside a doubly linked list?

is this valid?

struct node
{
    int marks;
    int regno;
    struct node *next;
    struct node *prev;
}*start;

If this is valid, how can i assign values to the individual data items?

next->marks=5;
next->regno=3456;

will this work?

or using a class or struct to bind the different data members would be ideal?

Sure, it will work. If next is not null that is...