SyntaxFix
Write A Post
Hire A Developer
Questions
How was your 2D array declared?
If it something like:
int arr[20][30];
You can zero it by doing:
memset(arr, sizeof(int)*20*30);