Not with any correct C compiler, it wont. Here's a simple test program I ran on Linux:
#include <stdio.h>
int main()
{
char filler[16] = {0};
int i;
unsigned short s1 = 0xFFFF;
unsigned long l1 = 0xFFFFFFFF;
filler[0] = (unsigned short)s1;
filler[2] = (unsigned short)s1;
filler[4] = (unsigned long)l1;
for (i = 0; i < 8; i++)
printf("filler[%d] = %d\n", i, filler[i]);
}
And when you run it, all the elements of filler that haven't been explicitly assigned to are still 0, even though the unsigned shorts and longs that were assigned to them have '1' in all their bits:
When dealing with floats, it should be noted that unlike a 32-bit `int` which is a signed 2's complement representation; a 32-bit `float` follows single precision floating point representation which is 1 sign bit, 8 exponent bits and 23 mantissa bits.
Not that there's anything wrong with the article, i just wanted to put it here.
Can you blame Linus for saying that? I can't speak with precision about 1999, but someone assumed to have a CS education should know the difference between semaphore and spinlock.
Whether they did or didn't know about the definitions, they should have at least looked it up to confirm before posting to the Linux Kernel Dev list or taking on Linus on the matter.
'sandwich' gives a great result. there is some song called sandwiches and it's taking that into context. may be looking for the closest match of the given word.