diff options
author | Haidong Ji | 2022-04-15 15:51:30 -0500 |
---|---|---|
committer | Haidong Ji | 2022-04-15 15:51:30 -0500 |
commit | 442a49ad5a48d417345959b903ae6a6d32d55759 (patch) | |
tree | c7127bb497e5e439018b1915e0136eec2c9cb124 /18_reverse_str/README |
Excellent fundamentals and displine training, many tools and techniques
exercises: gdb, emacs, valgrind, git
Diffstat (limited to '18_reverse_str/README')
-rw-r--r-- | 18_reverse_str/README | 15 |
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. |