+ 1

Var: 1 in C

Hello!! So i was looking for a bit array implementation in C on the internet and i came across this: The person defined the struct as Struct bit { Unsigned int bit: 1; }; What does this mean? (Bit: 1) and is it necessary?? Thanks

6th Jun 2020, 5:37 AM
Nino_c
2 Antworten
+ 2
this is kind of the most fun way and interesting method to learn structure parking https://www.sololearn.com/post/78037/?ref=app
6th Jun 2020, 9:05 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 1
https://www.google.com/amp/s/www.geeksforgeeks.org/bit-fields-c/amp/ Go through this good article!
6th Jun 2020, 5:42 AM
RKK
RKK - avatar