0_0_29269745_26519.cpp: In function 'int main()': 0_0_29269745_26519.cpp:17:45: error: 'len' was not declared in this scope if(s1[0]==s2[0]&&s1[len1-1]==s2[len-1]) ^