dumb.h 297 B

123456789101112131415
  1. // printf cannot be used without stdio.h
  2. #include <stdio.h>
  3. void hello_world () {
  4. printf ("Hello World\n");
  5. }
  6. void swap (int *a, int *b) {
  7. printf ("a did == %d and b did == %d, but \n", *a, *b);
  8. int temp_a = *a;
  9. *a = *b;
  10. *b = temp_a;
  11. printf ("now a == %d and b == %d \n", *a, *b);
  12. }