Pergunta de entrevista da empresa Marvell Technology

two questions were asked one was to make any data structure using structures and second was to use bitwise operator to check whether the given number is power of two or not