You have a few errors there but just look at this example that works and you should be able to get yours right:




typedef struct
{
char color[20];
char size [1];
int qty [5];