#include "stdio.h" #include "stdlib.h" #include "conio.h" #include "iostream" void delchar(char* str, char ch) { if(str == 0 || *str == 0) return; char* ptr = str; while(*ptr != 0) if(*ptr == ch) break; else ptr++; while(1) { char c = *ptr; *ptr = ptr[1]; ptr[1] = c; if(*ptr == 0) return; else ptr++; } } char* _strrev_(const char* str) { char str_[1024]; str_[strlen(str)] = 0; for(int i=strlen(str)-1, j=0;i>=0;i--,j++) str_[i] = str[j]; return str_; } int main() { char str[1024], strptr[1024]; printf("Input palindhrom: \n"); gets(str); for(int i=0;i