even numbers in list program only with logic not using any main or scanf and printf functios

void FunDisp(int A[],int size)
{
}…this is given please provide some hints

Did not quite get your question… Why don’t just iterate over array and check modulo 2 and append that element in new array accordingly…