Pergunta de entrevista da empresa Thoughtworks

Write a C program to print the common elements of two arrays in a third array.