News for hackers. Stuff that matters.
Re:Computer Scientists’ Trivia by Koshkin on Thursday February 02, 2017 @10:53AM (#13551365)
Well, according to the Wikipedia article about sizeof,

In the programming languages C and C++, the unary operator sizeof generates the size of a variable or datatype, measured in the number of char size storage units required for the type. As such, the construct sizeof (char) is guaranteed to be 1.

Re:Computer Scientists’ Trivia by John23832 on Thursday February 02, 2017 @11:08AM (#13551528)
I stand corrected.
Re:Computer Scientists’ Trivia by Koshkin on Thursday February 02, 2017 @11:25AM (#13551715)
You were correct after all. The C99 standard does indeed talk about sizeof in terms of bytes!
Re:Computer Scientists’ Trivia by John23832 on Thursday February 02, 2017 @11:34AM (#13551813)
I guess this is one of those few times that we can say we were both correct.