Cpp Function Pointer To Array Of Struct In C