#include #include int main() { unsigned int a=0xAABBCCFF; a = a & ~7;//1111 1000 printf("a = %x", a); // a = aabbccf8 }