Pergunta de entrevista da empresa Valeo

write a c function to measure the frequency of a sinwave