Intel Corporation Interview Question

Q: Write a code to find maximum number of consecutive 0s in a binary string.