Firstly sorry and apologize for this silly question
lets say I have this example(it's spontaneously) :
I know there're errors in this code, and that's why I came forCode:#include<stdio.h> #include<string.h> struct student { char name[15];}jay; int main() { jay.name="David"; return 0; }
Well, to put the value "david" into the struct's name , I must access it and I accessed the struct by using operator "."(see in line 5), and now why I must write, and not aCode:jay.name, I'm saying that because the variable here not name alone it's name[15], so I must define that while trying to accessing... , and that's all..thanks.Code:jay.name[15]