← Back to context Comment by jibal 14 hours ago Per the C standard `sizeof(char)` is always 1, regardless of how many bits it has. 2 comments jibal Reply dmitrygr 4 minutes ago What you seek is CHAR_BIT ddlsmurf 14 hours ago because it's the unit of addressable memory that C is concerned by with sizeof, otherwise its values still depend on CHAR_BIT
ddlsmurf 14 hours ago because it's the unit of addressable memory that C is concerned by with sizeof, otherwise its values still depend on CHAR_BIT
What you seek is CHAR_BIT
because it's the unit of addressable memory that C is concerned by with sizeof, otherwise its values still depend on CHAR_BIT