[ad_1]
struct struct_set
{
unsigned long long number;
struct_set *next;
};
Is linked list
So there is not any need to write it as contiguous memory.
for more Linked list
As it is homework, do that by yourself
[ad_2]
solved Dynamic memory allocation without brackets [closed]