I have this structure:
typedef struct SM_DB { LIST_TYPE link; char name[SM_NAME_SIZE]; } SM_DB_TYPE;
And I
You can assign value to string only while declaring it. You can not assign it later by using =.
=
You have to use strcpy() function.
strcpy()