0_0_23302368_11323.cpp: In function 'bool subStr(char*, char*)': 0_0_23302368_11323.cpp:38:9: error: 'i' was not declared in this scope for(i=0; p<=na; p++,i++)a[i]=a[p]; ^