You must add those macros (1.0%)
A couple of sample runs are ...
> BitOps Enter an integer : 31 31 is odd Enter an integer and a bit number : 31 3 31 has bit 3 on Enter an integer, start and end bit numbers : 31 2 4 31 has all those bits on > BitOps Enter an integer : 30 30 is even Enter an integer and a bit number : 30 6 30 has bit 6 off Enter an integer, start and end bit numbers : 30 4 6 30 has not all those bits on
---- Initialized array of integers ---- 0 : 958486403 1 : 1006139074 2 : 893180240 3 : 769601150 4 : 392522169 ---- Sorted array of pointers ---- 0 : 392522169 1 : 769601150 2 : 893180240 3 : 958486403 4 : 1006139074 ---- Sorted array of integers ---- 0 : 392522169 1 : 769601150 2 : 893180240 3 : 958486403 4 : 1006139074 ---- Array of pointers ---- 0 : 1006139074 1 : 958486403 2 : 893180240 3 : 392522169 4 : 769601150