summaryrefslogtreecommitdiff
path: root/C/HF/chap4/func_maze.c
diff options
context:
space:
mode:
Diffstat (limited to 'C/HF/chap4/func_maze.c')
-rw-r--r--C/HF/chap4/func_maze.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/C/HF/chap4/func_maze.c b/C/HF/chap4/func_maze.c
new file mode 100644
index 0000000..a65a3d1
--- /dev/null
+++ b/C/HF/chap4/func_maze.c
@@ -0,0 +1,12 @@
+#include <stdio.h>
+
+float amuze_me(void) {
+ return 3.9;
+}
+
+int main(void)
+{
+ int foo = amuze_me();
+ printf("%i\n", foo);
+ return 0;
+}