gsm.tail[INDEX]
или
*(gsm.tail)
int main(int argc, char **argv)
{
#define SIZE 9
struct circ_buff{
char buff[SIZE];
int total;
char *tail;
char *head;
} gsm;
strcpy(gsm.buff, "ohaiohai");
gsm.tail = gsm.buff;
gsm.head = gsm.buff;
printf("%s\n", gsm.buff);
printf("%s\n", gsm.tail);
printf("%s\n", gsm.head);
putchar(*(gsm.tail));
putchar(gsm.head[1]);
exit(0);
}
Выход:
$ gcc main.c && ./a.out
ohaiohai
ohaiohai
ohaiohai
oh