summaryrefslogtreecommitdiff
path: root/6p41.cpp
diff options
context:
space:
mode:
Diffstat (limited to '6p41.cpp')
-rw-r--r--6p41.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/6p41.cpp b/6p41.cpp
new file mode 100644
index 0000000..2b3b61c
--- /dev/null
+++ b/6p41.cpp
@@ -0,0 +1,20 @@
+
+/*
+ *
+ * 6.41
+ *
+ *
+ */
+
+char *init(int ht, int wd = 80, char bckgrnd = ' ') {
+
+ if(ht || wd || bckgrnd) {}
+ return 0;
+}
+int main () {
+
+ // (A) illegal
+ // (B) legal
+ // (C) legal but not what the author intends, they think that the '*' will be the argument for bckgrnd when in reality the '*' character will be converted to an int
+ return 0;
+}