Click here to Skip to main content
15,886,753 members

Comments by _-_-_-me (Top 93 by date)

_-_-_-me 4-Aug-21 6:56am View    
Okay , Thank you !
please , could you explain the meaning of mask ?
Here what is mask ?
Is it the one which we are shifting ?
Thank you !
_-_-_-me 3-Aug-21 9:30am View    
Thank you very much :-)
_-_-_-me 3-Aug-21 2:22am View    
Deleted
Thank you very much !
set a bit - generate a mask by shifting 1 to the desired position
- Here- what is desired position?
I understood it like this:
In a case to increase bit size.
Suppose when you want to store 4 bit in an 8 bit .
Is my understanding correct?
If my understanding is correct:
Why one have to increase the size , it would lead to more memmory wastage .

Thank you !
_-_-_-me 3-Aug-21 2:22am View    
Thank you very much !
set a bit - generate a mask by shifting 1 to the desired position
- Here- what is desired position?
I understood it like this:
In a case to increase bit size.
Suppose when you want to store 4 bit in an 8 bit .
Is my understanding correct?
If my understanding is correct:
Why one have to increase the size , it would lead to more memmory wastage .

Thank you !
_-_-_-me 3-Aug-21 2:07am View    
Okay , thank you !
The conclusion is : Its pretty much used everywhere. So, one have to understand how the bit wise operators work :-)