Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef MYFUNCTIONS_H
- #define MYFUNCTIONS_H
- #endif
- #include <stdio.h>
- int square(int a);
- //my header
- #include "myfunctions.h"
- int square(int a)
- {
- return a*a;
- }
- #include <stdio.h>
- #include <stdbool.h>
- #include "myfunctions.h"
- int main()
- {
- printf("%d", square(5));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement