Write A C++ Program To Reverse A String.
Menu
Turn Mobile View Off
by Dinesh Thakur

 

#include<iostream.h>

#include<string.h>
#include<conio.h>
void main()
{
    char b[70];
    clrscr();
    cout<<"\nSpecify the String : ";
    cin.get(b,70);
    cout<<"\nString Before Reversing : "<<b;
    cout<<"\nString After Reversing : " <<strrev(b);
    getch();
 }

Reverse A String

Dinesh Thakur is a Technology Columinist and founder of Computer Notes and Technology Motivation. Turn Mobile View Off