c 2b 2b modulo make it give only positive numbers

Solutions on MaxInterview for c 2b 2b modulo make it give only positive numbers by the best coders in the world