/* Program illustrating how scanf reads characters */

#include <stdio.h>

int
main (void)
{
  printf ("enter three characters\n");
  char a, b, c;
  scanf ("%c", &a);
  scanf ("%c%c", &b, &c);

  printf ("the three characters read are '%c', '%c', '%c'\n", a, b, c);

  return 0;

} // main
