#include <stdio.h> /* for input/output */

main() {
  char String[80], filename[80];
  FILE *file;
  printf("Lab Session 6, Question 3.3\n"); /* Display program header */
  printf("filename? ");
  scanf("%s", &filename);
  file = fopen(filename, "r");
  fscanf(file, "%s", &String);
  close(file);
  printf("\nfirst string of non-whitespace characters in file is: %s\n", String);
}
