Actually , I want to ask that what is the exact use of bit fields? I have searched a lot and get one thing that they are used for saving space. But, on the other hand, I read that bits are "padded" to increase the efficieny of compiler to read/write. So, space again is utlized in that. So what is the use of using bit fields then ?
I am confused in this thing. please clear this.
thanks in advance. any help will be appreciated.