Write a program in C++ to read a string and display the same string in the reverse order
#include #include #include #include class abc { private: char str[30]; int l,i; public: void getdata() { cout<<"Enter the 1st string: "; gets(str); } void display() { l=strlen(str); cout<<"String is: "; for(i=0; i =0; i--) cout<