Write a C program to toggle the 5th bit (0-based index) of a given integer.
Note: The 5th bit is at position 5(0-based indexing). For example, in the binary number 100100, the 5th bit is 1.
Example
1010 is 00001010.00101010, which is 42 in decimal.42
3131 is 00011111.01011111, which is 95 in decimal.95
00 is 00000000.00100000, which is 32 in decimal.32
Input
8
Expected Output
40