diff options
Diffstat (limited to 'tmp/main.c')
-rw-r--r-- | tmp/main.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tmp/main.c b/tmp/main.c new file mode 100644 index 0000000..0ae18f7 --- /dev/null +++ b/tmp/main.c @@ -0,0 +1,12 @@ +#include <stdio.h> +#include "add.h" + +int main() { + int added = add(4, 5); + printf("Adding 4 and 5: %d\n", added); + + persistInt(6); + int persisted = retrieveInt(); + printf("Persisted number: %c\n", persisted); + return 0; +} |