What are the best methods to "Clear the 6th bit" of an integer?
And, is your solution platform independent? (32 or 64 bit integer, etc). If not, can you give a solution that is platform independent?
Update: we don't know whether that bit is set or unset when it was given... also, any language is ok... i know of a solution that is platform independent that requires 2 operators... maybe there are various methods or simpler solutions.
Update: more clearly: clear the 6th least significant bit of an interger.