Please help me, do correct this code, where is wrong?
#include <iostream> using namespace std; void str_deldigit(char *str) int main() { char s1[20]="123"; char s2[20]="abced"; char s3[20]="123ABC"; char s4[20]="abced123"; char s5[20]="abc123edf"; char s6[20]="1"; char s7[20]="a"; cout<<"s1:"<<s1<<endl; str_deldigit(s1); cout<<"s1:"<<s1<<endl; cout<<"s2:"<<s2<<endl; str_deldigit(s2); cout<<"s2:"<<s2<<endl; cout<<"s3:"<<s3<<endl; str_deldigit(s3); cout<<"s3:"<<s3<<endl; cout<<"s4:"<<s4<<endl; str_deldigit(s4); cout<<"s4:"<<s4<<endl; cout<<"s5:"<<s5<<endl; str_deldigit(s5); cout<<"s5:"<<s5<<endl; cout<<"s6:"<<s6<<endl; str_deldigit(s6); cout<<"s6:"<<s6<<endl; cout<<"s7:"<<s7<<endl; str_deldigit(s7); cout<<"s7:"<<s7<<endl