3 ms·
it should be memset(buffer,0,SIZE*sizeof(int))
by np3000 16y ago
it should be memset(buffer,0,SIZE*sizeof(int))
- scott_s 16y agoOnly if it's a buffer of ints. I had assumed it was buffer of unstructured memory, which would be chars and of 1 byte each.