Salut.Uite aici o modalitate de rezolvare. Succes in continuare!
#include "stdafx.h"
#include <iostream>
#include <string>
using namespace std;
int main()
{
char s[255], *p;
cin.get(s, 255);
p = strtok(s, " ");
while (p != NULL)
{
cout << strrev(p) << " ";
p = strtok(NULL, " ");
}
}