Following are the codes for copy and reverse thhe sentence by using strings.
But as i run the codes it only except character and cursor stays at output point without and character.
#include<iostream>
using namespace std;
class Swap_Rev_Str
{
private:
int pos,j,i;
string source,dest;
public: