Infokus
Showing posts with label
reverse
.
Show all posts
Showing posts with label
reverse
.
Show all posts
Friday, February 13, 2015
C Program to reverse a string
#include<iostream.h>
#include<conio.h>
#include<stdio.h>
void main()
{
clrscr();
char a[20],a1[20];
int i,j;
cout<<"Enter any String:"<<"
";
gets(a); cout<<"Reverse of the string is: ";
for(i=0;a[i]!=
Read more »
Older Posts
Home
Subscribe to:
Posts (Atom)