summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/C/L2.1e
diff options
context:
space:
mode:
authorIan Darwin <ian@cvs.openbsd.org>1998-09-28 16:01:29 +0000
committerIan Darwin <ian@cvs.openbsd.org>1998-09-28 16:01:29 +0000
commite9be7faad5fbf61edcad3700142615e315e407bc (patch)
tree5f3febafdfca4e38b83cbc129c87aefdece9ae70 /usr.bin/learn/lib/C/L2.1e
parent0436a5b6c19a613da918536b89a49cbcb38a2e4e (diff)
import BTL learn(1) lessons/C
Diffstat (limited to 'usr.bin/learn/lib/C/L2.1e')
-rw-r--r--usr.bin/learn/lib/C/L2.1e19
1 files changed, 19 insertions, 0 deletions
diff --git a/usr.bin/learn/lib/C/L2.1e b/usr.bin/learn/lib/C/L2.1e
new file mode 100644
index 00000000000..86df6328efd
--- /dev/null
+++ b/usr.bin/learn/lib/C/L2.1e
@@ -0,0 +1,19 @@
+#print
+Is there any difference between
+
+ printf("%s", s);
+
+and
+
+ printf(s);
+
+Answer yes or no.
+#copyin
+#user
+#uncopyin
+#match yes
+#fail
+Consider the string "50% of the answers are wrong."
+#log
+#next
+3.1a 10