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
#include
void main() { clrscr(); char str1[10]; int i,l; cout<<"\nenter a string"; gets(str1); l=strlen(str1); char temp; for(i=0;i