+ 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
2 Answers
+ 2
this is kind of the most fun way and interesting method to learn structure parking https://www.sololearn.com/post/78037/?ref=app
+ 1
https://www.google.com/amp/s/www.geeksforgeeks.org/bit-fields-c/amp/
Go through this good article!