I'm working on a code in C that returns the index of the left most 1. It will also need to return -1 if there are no 1 in the binary number. My code resulted in error message from the terminal:
warning: control reaches end of non-void function [-Wreturn-type]