write a function that has an int parameter n


Write a function that has an int parameter n, makes an integer mask having the bit 1 at the nth place from the rightmost bit, and returns the mask. For example, when n = 5 is passed to the function, the function will return 0x20 (Note that 0x20 is 00000000 00000000 00000000 00100000).

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: write a function that has an int parameter n
Reference No:- TGS0220446

Expected delivery within 24 Hours