English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i just really need it for my project. i don't know how to do it using array. i made it by reversing the string but my professor told me that i should use an array. thanks in advance.. :)

2006-08-08 01:28:53 · 1 answers · asked by Joh 1 in Education & Reference Homework Help

1 answers

just givin' the code
char c[50];
int l=strlen(c);
int flag
for (i=0;i {if (c[i]==c(l-i-1))
flag=1;
else flag =0;
if (flag==0)
break;}

2006-08-08 01:44:16 · answer #1 · answered by Anonymous · 0 0

fedest.com, questions and answers