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-14 21:50

"Usually" is not good enough to be considered portable.
Is int v[..]; memset(v, 0, sizeof(v)); a portable equivalent to int v[..]={0};?

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