Posts by Luiz Fernando Oliveira • 19 points
1 post
-
1
votes4
answers2153
viewsQ: Function to invert a string
I tried to do a function in order to invert a string but the program always returns (null). #include<stdio.h> #include<stdlib.h> #include<string.h> char reverse(char string[]) {…