Question d’entretien chez Thoughtworks

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