Created
June 24, 2020 23:10
-
-
Save AlexBaranowski/4a3e04cb707df9a1a0935d0a180bd1fa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include "hello2.c" | |
void print_hello(){ | |
printf("Hello, World!\n"); | |
} | |
int main(){ | |
print_hello(); | |
print_pi(); | |
return 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#define PI 3.14159 | |
void print_pi(){ | |
printf("PI ~= %f\n", PI); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment