Objective
Implement a function that flips a null-terminated string end-to-end, modifying the original buffer, then hands the same pointer back to the caller.
Steps
$ char s[] = "deploy"; rev_str(s);
"yolped"
$ char s[] = "ok"; rev_str(s);
"ko"
$ char s[] = ""; rev_str(s);
""
Expected files
Allowed functions
None. Write every helper yourself.

Objective
Implement a function that flips a null-terminated string end-to-end, modifying the original buffer, then hands the same pointer back to the caller.
Steps
$ char s[] = "deploy"; rev_str(s);
"yolped"
$ char s[] = "ok"; rev_str(s);
"ko"
$ char s[] = ""; rev_str(s);
""
Expected files
Allowed functions
None. Write every helper yourself.

Tests
Run the tests to grade your code