WELCOME TO MY BLOG BY SHABEEB.K

C,C++ PROGRAMMING: DISPLAY REVERS OF A CHARACTER

Search This Blog

Saturday, 3 August 2013

DISPLAY REVERS OF A CHARACTER

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char a[80];

clrscr();

printf("ENTER A WORD \n");
scanf("%s",&a);

strrev(a);

printf("REVERSE OF THE CHARACTER U ENTERED IS %s",a);
getch();
}



OUTPUT



Contact me in facebook: www.facebook.com/shabeeblive

No comments:

Post a Comment