Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // contents of foo.c
  2. static int x = 8;
  3.  
  4. int a(int)
  5. {
  6. print 6;
  7. }
  8.  
  9. static int b(int)
  10. {
  11. print 7;
  12. }
  13.  
  14. int c(int)
  15. {
  16. print 8;
  17. }
  18.  
  19. // contents of bar.c
  20.  
  21. import "foo.c"
  22.  
  23. int main(int* blah)
  24. {
  25. b();
  26. printf("%d", x);
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement