#include <stdio.h>

main() {
  char ch0 = 'a';
  char ch1 = 'b';
  char ch2 = 'c';

  char *p = &ch1;
  printf("%d, %c, %c\n", p, *p, ch1);
  ++p;
  printf("%d, %c, %c\n", p, *p, ch1);
  printf("%d, %d, %d\n", &ch0, &ch1, &ch2); // Prevent the compiler from optimizing away the char constants
}

#include <stdio.h>

main() {
  char ch0 = 'e';
  char ch1 = 'v';
  char ch2 = 'i';

  char *p = &ch1;
  printf("%d, %c, %c\n", p, *p, ch1);
  ++p;
  printf("%d, %c, %c\n", p, *p, ch1);
  printf("%d, %d, %d\n", &ch0, &ch1, &ch2); // Prevent the compiler from optimizing away the char constants
}

Make it more ovious we are not incrementing and decrementing chars
Make it more ovious we are not incrementing and decrementing chars
