//========================
//Program in C to learn to reverse a strings in C,stringreverse.c
//========================
#include<stdio.h>
#include<string.h>
int main()
{
char name[]="SalmanKhan";
printf("%s \n",name);
strrev(name);
printf("%s \n",name);
return 0;
}
No comments:
Post a Comment