SyntaxFix
Write A Post
Hire A Developer
Questions
Please check this example here: Accessing Structure Members
There is explained that the right way to do it is like this:
strcpy(s1.name , "Egzona"); printf( "Name : %s\n", s1.name);