PLEASE HELP ME TO SOLVE THIS QUESTIONS ???????????
Q:1 Left Shifting an unsigned integer by 1 bit is equivalent to multipling the value by 2.Write a function powerof2 that takes two integer arguments num and power and calculates: num*2^power.
Q:2 Write a program to store three variables employee_number(9bits), gender_of_the_employee (1bit) and employee_skills (6 bits) in a short integer variable.Use pack and unpack function .
Q:3 Write a program that reverses the order of the bits in an unsigned integer value .The program should take an (unsigned) integer value and display the same bit wise .Then reverses the bit pattern and print the reversed bit and its integer value.
Q:4 Print all ASCII characters,their corrsponding integer value and bit wise printing of this integer value.