/* Peter Cline -- July 16
   Playing with character pointers
*/

#include <stdio.h>
#include <string.h>

int main() {

  char s1[20] = "hello";
  char s2[20] = "goodbye";

  char *cptr = NULL;

  //  printf("%s\n", s2);
  cptr = s2;
  printf("%s\n", cptr);

  cptr[0] = 'D';
  printf("%s\n", cptr);

  printf("%s\n", s2);

  return 0;
}
