The code is simple. It has a function that builds a 16-bit value and stores it in a 16-bit variable using Macros and OR operation. This variable's value is then accessed through the main function wherein we obtain which bit should be made high as an unsigned 8-bit input from the user.