C Workshop
ReverseWords.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ReverseWords.h"

Functions

char * ReverseWords (char *str)
 Reverses the words in a string. More...
 

Function Documentation

◆ ReverseWords()

char* ReverseWords ( char *  str)

Reverses the words in a string.

Parameters
strThe string to be reversed.
Returns
char* The string with the words reversed.