Is it possible to statically initialise part of a struct?
The stuct I have:
   struct data {
    char name[20];
    float a;
    int b;
    char c;
};
When initialsing and printing:
struct data badge = {"badge",307};
printf("%s,%d\n", badge.name, badge.b);
This will print out "badge", but not '307'.
How can I get this to use char name[20] and int b whilst ignoring float a.
 
     
    