0_0_17131129_23320.cpp: In function 'int main()': 0_0_17131129_23320.cpp:10:33: error: 'val' was not declared in this scope memset(arr,0,sizeof(val)); ^