Pergunta de entrevista da empresa Qualcomm

Write a function to check if a bit is set in a specific position.