0_0_23420014_16920.cpp: In function 'int main()': 0_0_23420014_16920.cpp:45:35: error: 'strlen' was not declared in this scope scanf("%s",str+1);n=strlen(str+1); ^