Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #ifndef MYFUNCTIONS_H
  2. #define MYFUNCTIONS_H
  3. #endif
  4. #include <stdio.h>
  5.  
  6. int square(int a);
  7. //my header
  8.  
  9. #include "myfunctions.h"
  10.  
  11. int square(int a)
  12. {
  13. return a*a;
  14. }
  15.  
  16. #include <stdio.h>
  17. #include <stdbool.h>
  18. #include "myfunctions.h"
  19.  
  20. int main()
  21. {
  22. printf("%d", square(5));
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement