Recursive struct example in C.

#include <stdio.h>
typedef struct turtle {
 const char *name;
 struct turtle *next;
} turtle;
int main(){
 turtle koray = {"koray",NULL};
 turtle halim = {"halim",NULL};
 turtle armagan = {"armagan",NULL}; = &halim; = &armagan;
 turtle *currentTurtle = &koray;
  printf("Current turtle: %s\n",currentTurtle->name);
  printf("Current turtle follower: %s\n",currentTurtle->next->name);
  currentTurtle = currentTurtle->next;

and the output will be:
Current turtle: koray
Current turtle follower: halim
Current turtle: halim
Current turtle follower: armagan