Valeo Interview Question

Write a c code Length of the Longest Consecutive 1s in Binary Representation