Strings revisited

A string is an array of characters and therefore also a pointer of type pointer to character.

char myArray[] = {'a', 'b', 'c'};
char c = my_array[1];  // gives b
c = *(my_array + 1);   // gives b

int i;
for (i=0; i%lt; 3;i++) {
  printf("%c", *my_array++;)
  }  // prints "abc"