summaryrefslogtreecommitdiff
path: root/18_reverse_str/README
diff options
context:
space:
mode:
Diffstat (limited to '18_reverse_str/README')
-rw-r--r--18_reverse_str/README15
1 files changed, 15 insertions, 0 deletions
diff --git a/18_reverse_str/README b/18_reverse_str/README
new file mode 100644
index 0000000..af46aa6
--- /dev/null
+++ b/18_reverse_str/README
@@ -0,0 +1,15 @@
+For this problem, you will write the function
+
+ void reverse(char * str)
+
+in the provided reverse.c file. This function should reverse the string
+passed into it (that is, if given "abc", it should change the contents
+of that string to read "cba"). Note that this function's return type
+is "void"---it modifies the string passed into it in place.
+
+We have provided a main function which you can use to test your
+reverse function (do you recognize the quotations?). The correct
+output for your program can be found in reverse_ans.txt, so you can
+diff your program's output against it.
+
+Submit your reverse.c file for grading.