Hi All,
I'm getting the following error when i try to compile my code.
"Expression must have a pointer type".
I'm getting the error at the last line, where i try to assign the value for the structure variable.Code:typedef int KEY; typedef struct { KEY authKey; }STR; STR var; int userKey = 10; var->KEY = userKey;
Thank you in advance.