You are here:   HomeC++ ProgrammingFunctionsWrite A C++ Program To Reverse A String.
by Dinesh Thakur Category: Functions
#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

What's New and Popular





Search Content







Advance Courses



Basic Courses



Advertise with Us