doubleincl.c 273 B

123456789101112
  1. // doubincl.c -- include header twice
  2. #include <stdio.h>
  3. #include "names.h"
  4. #include "names.h" // accidental second inclusion
  5. int main()
  6. {
  7. names winner = {"Less", "Ismoor"};
  8. printf("The winner is %s %s.\n", winner.first,
  9. winner.last);
  10. return 0;
  11. }