I\'m trying to create an array of structs. Is the code below valid? I keep getting an expected primary-expression before \'{\' token error.
expected primary-expression before \'{\'
int main
Try this:
Customer customerRecords[2] = {{25, "Bob Jones"}, {26, "Jim Smith"}};