From a30d605024322ada2206d10898b8dfd6220107c1 Mon Sep 17 00:00:00 2001 From: Oskar Date: Thu, 5 Sep 2024 10:45:59 +0200 Subject: more --- 6p6.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 6p6.cpp (limited to '6p6.cpp') 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; +} -- cgit v1.2.3