/*Note:- we can modify the or use bitwase operation only on decimal/binary numbers
        so idf we want to change any bit we can do it in only decimal/binary no
            so we 1st need to convers hex to decimal/binary and then modify*/
            
#include <stdio.h>

int main() {
    int hexadecimalNumber = 0x01;//16
    int decimalNumber = hexadecimalNumber;// 0000
    printf("Before:%d\n",decimalNumber);
    
    decimalNumber = decimalNumber ^ (1<<0);
    
    printf("After:%d\n",decimalNumber);
    
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: