Bitwise Interview Question

Find length of string without any loops