0

how is the size of char 16bits and not 8bits?

fhs

12th Mar 2019, 2:07 AM
Mayank Mewar
Mayank Mewar - avatar
9 Answers
+ 3
In C it's not guaranteed to be 8 bits, but I guess "1 byte" is still correct wording. The number of bits in a byte might not always be 8 though.
12th Mar 2019, 4:16 AM
Schindlabua
Schindlabua - avatar
0
Size of char is 8 bit and it is 1 byte and 1 byte =8 bit Where did find that it 16 bit ?
12th Mar 2019, 2:48 AM
Sahil Bhakat
Sahil Bhakat - avatar
0
Oh i didn't know that
12th Mar 2019, 3:36 AM
Sahil Bhakat
Sahil Bhakat - avatar
0
So the answer should be as the size of char is somewhere 2 byte then only it is 16 bit
12th Mar 2019, 3:38 AM
Sahil Bhakat
Sahil Bhakat - avatar
0
Yeah he didn't specified it maybe he doesn't know the rules
12th Mar 2019, 3:57 AM
Sahil Bhakat
Sahil Bhakat - avatar
0
and if i would have mentioned the language ,then u would have responded with the right answer😂
12th Mar 2019, 4:13 AM
Mayank Mewar
Mayank Mewar - avatar
0
Yeah, i also thought bout that
12th Mar 2019, 4:19 AM
Mayank Mewar
Mayank Mewar - avatar