hey i m using code::blocks for c programming and when i take help of debugger in below code it show ..
a syntax error in expression near "if"..
i m just checking debugger ...i m begginer .....
Code:#include <stdio.h> #include <string.h> int main() { char s1[100]; int i; puts("enter s1"); gets(s1); for(i=0;s1[i];i++) { if(((s1[i]<65)||(s1[i]>90))&&((s1[i]<97)||(s1[i]>122))) { strcpy(s1+i,s1+i+1); i--; } } puts(s1); return 0; }