Infokus
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]!=
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.