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-15 9:14

>>5
"Usually" is not good enough to be considered portable.
Theory and practice sometimes clash. And when that happens, theory loses. Every single time. --Linus Torvalds

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