Why You Cannot Directly Assign Values to String Members of a Struct in C
Attempting to directly assign values to string type members of a structIn the following code, when we try to directly use the “.” operator to access the string (character array) member in the struct and assign a value, the compiler will prompt:assignment to expression with array type, which translates to assigning a value to an … Read more