Page

Thursday, 13 September 2018

program for reverse in c

#include<stdio.h>
#include<conio.h>
#include<string.h>
int main()
{
clrscr();
char str[100];
printf("enter the name\n");
scanf("%s",&str);
strrev(str);
printf("your name is:");
printf("%s",str);
getch();
return(0);
}



No comments:

Post a Comment