Trying to initialize structure variable fields with values in short way:
typedef struct
{
    int id = 0;
    char* name = "none";
}employee;
employee e = 
{
    .id = 0 ;
    .name = "none" ;
};
Got error in e initialization:
Error    expected ‘}’ before ‘;’ token                                                  
Note     to match this ‘{’                                                              
Error    could not convert ‘{0}’ from ‘<brace-enclosed initializer list>’ to ‘employee’ 
Why I'm getting error and how to solve this problem?
 
    