Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C question

Name: Anonymous 2017-04-14 17:09

is a byte with all zeros equivalent to the integer value (signed or unsigned) zero, in terms of portability?

Such that, is memset(&i, 0, sizeof(int)); equivalent to i = 0;?

Name: Anonymous 2017-04-18 15:17

>>14
I think >>1-san didn't want to use memset to replace the cleaner and portable i = 0, but to quickly initialize structures and arrays.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List