Cognizant interview question

Basic DBMS and C programming questions. They have given one program to write. DBMS normal forms related questions