10/07/14 23:35:48
Write a function that sets a specified bit in a 16-bit unsigned integer to 1.
The function is to have two parameters:
The first parameter is the integer to be manipulated and the second is the bit location (is to be turned on).
Your test program should start with 0 and turn on several bits in turn.
C言語の授業で出てきました。。
よろしくお願いします。