Twitter Feed Facebook Google Plus Youtube

Adsense responsive

Recent Post below header

Saturday, 2 February 2013

C PROGRAM: TO REVERSE ANY STRING

CODING:
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char a[50];
clrscr();
printf("Enter any string: ");
gets(a);
printf("\n\nReversed string: %s",strrev(a));
getch();
}


CODING

OUTPUT

For any query or suggestion please comment below...


No comments:

Post a Comment