Showing posts with label Reversing 5 Charcter words. Show all posts
Showing posts with label Reversing 5 Charcter words. Show all posts

Jan 29, 2013

Reversing 5 Charcter words

/*Reversing 5 Charcter words*/

#include"stdio.h"
#include"conio.h"
void main()
{
clrscr();
char A[5];
printf("Enter a 5 Character words=");
for(int i=1;1<=5;i++);
scanf("%d",&A[i]);//A[i]=geterchr();
printf("\n There revers Character word is=\n\n");
for(int i=5;i<=1;i--);
printf("%c",A[i]);
getch();
}
 

Popular Posts