summaryrefslogtreecommitdiff
path: root/6p53.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-09-16 18:10:18 +0200
committerOskar <[email protected]>2024-09-16 18:10:18 +0200
commitf8b740c5b083cbb2d755b8d1adb7dea41563c9ac (patch)
tree3d43d53a3b198e0053a8cb717b472b107b2a490f /6p53.cpp
parentdf2ff7d92c25269d05a0bae75e0de8abd63a23d0 (diff)
more
Diffstat (limited to '6p53.cpp')
-rw-r--r--6p53.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/6p53.cpp b/6p53.cpp
new file mode 100644
index 0000000..c02561b
--- /dev/null
+++ b/6p53.cpp
@@ -0,0 +1,23 @@
+#include <iostream>
+
+/*
+ *
+ * 6.53
+ *
+ *
+ */
+
+int main () {
+
+ /*
+ (a) int calc(int&, int&);
+ int calc(const int&, const int&); // Low level const
+
+ (b) int calc(char*, char*);
+ int calc(const char*, const char*); // Low level const
+
+ (c) int calc(char*, char*);
+ int calc(char* const, char* const); // Top level const ignored
+ */
+ return 0;
+}