0_0_36665446_17537.cpp: In function 'int main()': 0_0_36665446_17537.cpp:16:30: error: 'memset' was not declared in this scope memset(a, 0, sizeof(gr) * r); ^