Recursive struct example in C.

Go!
#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};
 
 koray.next = &halim;
 halim.next = &armagan;
 
 turtle *currentTurtle = &koray;
 
 while(currentTurtle->next){
  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