answersLogoWhite

0

Like any other structure. Example:

typedef struct Example {
struct Example *next;
} Example;

Example e1, e2;
e1.next= &e2;
e2.next= NULL;

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is self referential structure?

It is exactly what it sounds like: a structure which contains a reference to itself. A common occurrence of this is in a structure which describes a node for a linked list. Each node needs a reference to the next node in the chain. struct linked_list_node { int data; struct linked_list_node *next; // <- self reference };


What is self referential function in c plus plus?

A self-referential function in C++, or in any other supporting language, is a recursive function.


Do you ever have an answer?

As an example in self-referential paradox, the answer is NO!


What a structure must include if it is a self -referential structure in C programming?

Pointer, eg: struct Person { struct Person *father, *mother, *spouse; int age; char *name; };


What does the suffix meta mean?

The suffix "meta" means beyond, transcending, or self-referential. It is often used to indicate something that is of a higher level or involving a critical examination of its own structure or underlying assumptions.


What is referential class in c?

C is not an object-oriented language so it doesn't have classes of have any kind, it only has types. However, a self-referential type is simply a type that refers to itself. Nodes in a linked list are self-referential types because they hold a reference (a pointer) to the next node in the list: typedef struct node {node* next;/* ... */};


What is The tendency to process efficiently and remember well information related to oneself is called the?

self-reference effect


Is a referential listener the most common?

A referential listener is just one of several types of listeners. While it is common for people to use referential listening in certain contexts, individuals may also use other techniques depending on the situation and personal preferences.


What is contextual criticism?

A form of criticism which views the literary text as a self-contained verbal structure. Akin to the New_Criticism, contextualism holds that a work of art generates self-referential meanings within its own internal and autonomous context. Its proponents include Cleanth Brooks, Eliseo Vivas, and Murray Krieger.


What does that's so meta mean?

It means it's self referential. For example, if someone were to ask a question on Answers.com regarding Answers.com itself, that would be so meta.


Can you explain the concept of CTMU in simple terms?

The CTMU, or Cognitive-Theoretic Model of the Universe, is a theory that suggests the universe is a self-processing, self-referential system. It proposes that reality is a kind of mind-like structure that processes information to create the world we perceive. In simpler terms, it's a theory that tries to explain how the universe works by comparing it to a giant, self-aware computer.


How do you use foreign key in to oracle?

the foreign key referential between two tables.