summaryrefslogtreecommitdiff
path: root/6p6.cpp
diff options
context:
space:
mode:
Diffstat (limited to '6p6.cpp')
-rw-r--r--6p6.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/6p6.cpp b/6p6.cpp
new file mode 100644
index 0000000..d8963f7
--- /dev/null
+++ b/6p6.cpp
@@ -0,0 +1,14 @@
+
+/*
+ *
+ * 6.6
+ *
+ *
+ */
+
+int main () {
+
+ // When the function ends the local variable is destroyed
+ // When the function ends the static variable retains its value and is still there when the function is called again.
+ return 0;
+}