if you want to initialize a structure you could use
struct student s = {1, "joe"};
Kurt
Type: Posts; User: ZuK
if you want to initialize a structure you could use
struct student s = {1, "joe"};
Kurt
p.name="dilipkumar"; //whats wrong with this statement??
C doesn't allow to assign to an array.
use strcpy()
strcpy(p.name,"dilipkumar");
to initialize an array use
char...