Using Reduce With Array Of Structures In C