HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by np3000 | Hacker News Reader
Parent
Full thread
np3000
·
it should be memset(buffer,0,SIZE*sizeof(int))
View on HN
scott_s
·
Only 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.
Reply on news.ycombinator.com