i need some help with this string. I'm trying to print the string in reverse order without using pointers. I know it probably seems easy but I'm a first timer with this stuff. I want all the words and letter to print in reverse order. Example: "good day"
in reverse: "yad doog". Here is my code so far. I have to call this funtion in my main.
void reverse(char r)
for (char i=0; r[i] != '\0'; i++)
while (r < i-1)
Code:void reverse(char r)