VotaryTech interview question

Prime number in c program