creating an array of structs in c++ September 24, 2023 by Tarik Try this: Customer customerRecords[2] = {{25, "Bob Jones"}, {26, "Jim Smith"}};