You are here

c++ program to reverse a string

C++ program to reverse a string:- This is the code to reverse a string which is entered by the user, for example if use enters "hello" then "olleh" will be printed as output.


#include"iostream.h"
#include"conio.h"
#include"string.h"

int main()
{
	char a[100];

	cout