0_0_18648514_19009.cpp:9:11: error: '::main' must return 'int' void main() ^ 0_0_18648514_19009.cpp: In function 'int main()': 0_0_18648514_19009.cpp:14:24: error: 'memset' was not declared in this scope memset(s,0,sizeof(s)); ^