0_0_34258544_5989.cpp:34:11: error: '::main' must return 'int' void main() ^ 0_0_34258544_5989.cpp: In function 'int main()': 0_0_34258544_5989.cpp:40:23: error: 'memset' was not declared in this scope memset(b,0,sizeof(b)); ^