Back To C++ Single Dimensional Arrays Index
//program to input a char array (string) and reverse the string without using strrev function #include
#include
#include
void main() { char str1[10]; char temp; int i,l; clrscr(); printf("\nenter a string"); gets(str1); l=strlen(str1); for(i=0;i