Intel Corporation interview question

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