Best Practice To Compare Two Complex Objects In C