Firstly sorry and apologize for this silly question
lets say I have this example(it's spontaneously) :
Code:
#include<stdio.h>
#include<string.h>
struct student {
char name[15];}jay;
int main()
{
jay.name="David";
return 0;
}
I know there're errors in this code, and that's why I came for
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 a , 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.